Forum

> > CS2D > Scripts > Tibia script thread (Post tibia requests here)
Forums overviewCS2D overview Scripts overviewLog in to reply

English Tibia script thread (Post tibia requests here)

347 replies
Page
To the start Previous 1 2 3 4 517 18 Next To the start

old Re: Tibia script thread (Post tibia requests here)

AbAeterno
User Off Offline

Quote
I'm always getting an error with this code:
1
2
3
4
5
6
7
8
9
{
		name = 'Leaf Monster', health = 65, image = 'gfx/WoE/Monsters/LMonster.png', scalex = 1, scaley = 1, r = 0, g = 255, b = 0, 
		atk = 0.7, def = 0.4, spd = 7, atkspd = 8, x = 0, y = 0, ang = 0, imgang = 0, runat = 10, 
		spawnchance = {['World of Emithia'] = {10}}, 
		spawn = {
			['World of Emithia'] = {SPAWNS.LEAFMONSTERS}
		}, 
		exp = 9, money = 68, loot = {}, 
	},
It's a monster, and this is the error I get:
1
LUA ERROR: image - can't load image at 'gfx/WoE/Monsters/LMonster.png'

The path for the PNG is correct, I double-checked it. What am I doing wrong?

old Re: Tibia script thread (Post tibia requests here)

Night Till Death
User Off Offline

Quote
double check if its really png or BMP
Also try to edit the name & see if there are any spaces in the name? or make it extra easy - copy the sprite inside and paste it in weiwens folder gfx and just do gfx/weiwen/'your file name'.png

user Bobakrome has written
Well if you want it, pay for it

CS2D is a free game & everything it contains is free - inculding scripts - so why the f*ck am i suppose to pay?

or was that a very stupid joke?

old Re: Tibia script thread (Post tibia requests here)

3RROR
User Off Offline

Quote
user Night Till Death has written
CS2D is a free game & everything it contains is free - inculding scripts - so why the f*ck am i suppose to pay?

or was that a very stupid joke?

There's also free games that has scripters which makes scripts for money.
Even mods.
edited 1×, last 02.02.12 09:42:09 pm

old Re: Tibia script thread (Post tibia requests here)

Night Till Death
User Off Offline

Quote
Thats stupid - If i was DC i would NEVER allow to sell scripts for the game - Thats stupid & idiotic - I totaly agree with yates... Why do you have to pay for someone who typed on the freaking keyboard for like 10/15 minuts? If you need money GET A F*CKING JOB not sell scripts from a game that is FREE

old Re: Tibia script thread (Post tibia requests here)

Night Till Death
User Off Offline

Quote
user Yates has written
user Night Till Death has written
If i was DC i would NEVER allow to sell scripts for the game

I thought it said somewhere that you are not allowed to use CS2D to earn money, or it's just me. Can't find it.


Indeed written by DC on some Topic

KenVo - If its not such a big deal - Can you please rewrite to Mana script - I kinda could not understand some stuff with 'How to add MANA to the STATS menu for the player'

old Re: Tibia script thread (Post tibia requests here)

3RROR
User Off Offline

Quote
Do not tell that to me. Tell that to all the scripters who are selling scripts with a higher prize than me.
Also, there's no rule that you can't distribute your script and money involved.

And chill I have money. Awesome. Isn't it?

old Re: Tibia script thread (Post tibia requests here)

Night Till Death
User Off Offline

Quote
and the problem with the money script is that someone could yeah BUY some good scripts and then upload them here for free without asking permission - soon players would have to scripts and play around with them - So even if you whine to some MOD to delete the script anyone can upload it at their website and still give them away for free. Thats when the sh*t hits the fan for you guys.

Would you like to pay for CS2D? Like freaking runescape (40$ a month to keep your usgn? Hell no you dont)

old Re: Tibia script thread (Post tibia requests here)

Glix
User Off Offline

Quote
The code what you gived to me!
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[514] = {
          name = "dragon dagger[P]", 
          desc = "Less dammage, but more speed. Upgraded with power hit [P].",
          r = 180, g = 0, b = 0, 
          action = {"power hit [20]","equip"}, 
          slot = 3, 
          eimage = "gfx/weiwen/dagger.png", 
          fimage = "gfx/weiwen/dagger.png", 
          offsetx = 6,
          offsety = 17,
          atk = 1.4, 
          speed = -0.25, 
          level = 25,
          func = {
               function(id, itemslot, itemid, equip)
               if PLAYERS[id].Mana >= 34
               radiusmsg(player(id,"name") .. " used special attack.", player(id,"x"), player(id,"y")) -- Line:1909
               explosion(player(id, "x"), player(id,"y"), 64, 20, id)
               local pos = player(id,"x") .. " " .. player(id,"y")
               parse("effect \"colorsmoke\" " .. pos .. " 100 96 128 128 0")
          else
           message(id, "You don't have enough mana")
          end,equip},
     },

Conlose log>>
1
[09:08:19] LUA ERROR: sys/lua/cs2dtibia/items.lua:1909: 'then' expected near 'radiusmsg'

Please help me!!!
To the start Previous 1 2 3 4 517 18 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview