mob/Stat()
statpanel("[usr]")
stat("attack",src.attack)
stat("defense",src.defense)
stat("strength",src.strength)
stat("cooking",src.cooking)
stat("prayer",src.prayer)
stat("ranged",src.ranged)
stat("herblaw",src.herblaw)
stat("fletching",src.fletching)
stat("crafting",src.crafting)
stat("smithing",src.smithing)
stat("mining",src.mining)
stat("magic",src.magic)
stat("woodcutting",src.woodcutting)
stat("firemaking",src.firemaking)
stat("questpoints",src.questpoints)
mob
var
attack = 1
defense = 1
strength = 1
cooking = 1
prayer = 1
ranged = 1
herblaw = 1
fletching = 1
crafting = 1
smithing = 1
mining = 1
magic = 1
moodcutting= 1
firemaking= 1
questpoints = 1
.... ERRORS:
loading Runescape on byond.dme
Runescape on byond.dm:37:error:strength:undefined var
Runescape on byond.dm:38:error:cooking:undefined var
Runescape on byond.dm:39:error:prayer:undefined var
Runescape on byond.dm:40:error:ranged:undefined var
Runescape on byond.dm:41:error:herblaw:undefined var
Runescape on byond.dm:42:error:fletching:undefined var
Runescape on byond.dm:43:error:crafting:undefined var
Runescape on byond.dm:44:error:smithing:undefined var
Runescape on byond.dm:45:error:mining:undefined var
Runescape on byond.dm:46:error:magic:undefined var
Runescape on byond.dm:47:error:moodcutting:undefined var
Runescape on byond.dm:48:error:firemaking:undefined var
Runescape on byond.dm:49:error:questpoints:undefined var
Runescape on byond.dm:19:error:src.strength:undefined var
Runescape on byond.dm:20:error:src.cooking:undefined var
Runescape on byond.dm:21:error:src.prayer:undefined var
Runescape on byond.dm:22:error:src.ranged:undefined var
Runescape on byond.dm:23:error:src.herblaw:undefined var
Runescape on byond.dm:24:error:src.fletching:undefined var
Runescape on byond.dm:25:error:src.crafting:undefined var
Runescape on byond.dm:26:error:src.smithing:undefined var
Runescape on byond.dm:27:error:src.mining:undefined var
Runescape on byond.dm:28:error:src.magic:undefined var
Runescape on byond.dm:29:error:src.woodcutting:undefined var
Runescape on byond.dm:30:error:src.firemaking:undefined var
Runescape on byond.dm:31:error:src.questpoints:undefined var
Runescape on byond.dmb - 26 errors, 0 warnings (double-click on an error to jump to it)
ID:178458
May 10 2002, 6:08 am
|
|
May 10 2002, 6:09 am
|
|
change them src to usr
|
In response to Sariat
|
|
mob/Stat()
statpanel("[usr]") stat("attack",usr.attack) stat("defense",usr.defense) stat("strength",usr.strength) stat("cooking",usr.cooking) stat("prayer",usr.prayer) stat("ranged",usr.ranged) stat("herblaw",usr.herblaw) stat("fletching",usr.fletching) stat("crafting",usr.crafting) stat("smithing",usr.smithing) stat("mining",usr.mining) stat("magic",usr.magic) stat("woodcutting",usr.woodcutting) stat("firemaking",usr.firemaking) stat("questpoints",usr.questpoints) mob var attack = 1 defense = 1 strength = 1 cooking = 1 prayer = 1 ranged = 1 herblaw = 1 fletching = 1 crafting = 1 smithing = 1 mining = 1 magic = 1 moodcutting= 1 firemaking= 1 questpoints = 1 STILL GIVES THE ERRORS. |
In response to Sariat
|
|
Sariat wrote:
change them src to usr Wrong! That's the worst possible advice you could give here; please think twice before advising anyone to switch anything to usr. Such advice is only applicable in a few casts, and Stat() is not one of them. The problem SS is having is simply what the compiler is telling him: The vars he's trying to use in his Stat() proc are all undefined. Lummox JR |
In response to ShadowSiientx
|
|
Here:
mob/Stat() Hope that solves your problem... --Lee |
In response to Mellifluous
|
|
I don't even put src, or usr.
|
In response to Thief Jack
|
|
I really dont see why you would try to clone runescape. If it gets too big you may get sued. If find runescape quite stupid. It's just sooooooo boring and too full. And when you play iy you can never get past the best players which makes the game crap. I would make something more original.
|
In response to Mrhat99au
|
|
Probally cuz you suck at it, Its better when your one of the better players, and if you pay. Also, no you wont get sued, I have permission to make a C++ clone, and if you play you have probally heard of RuneBot, which is hacked source of it, they know fully well of it but still cant sue because of loopholes in the systems.
|
In response to JordanUl
|
|
its a fan game..
|
In response to ShadowSiientx
|
|
Here, this works for sure.
mob Stat() statpanel("[usr]") stat("Attack","[attack]") stat("Defense","[defense]") stat("strength","[strength]") stat("Cooking","[cooking]") stat("Prayer","[prayer]") stat("Ranged","[ranged]") stat("Herblaw","[herblaw]") stat("Fletching","[fletching]") stat("Crafting","[crafting]") stat("Smithing","[smithing]") stat("Mining","[mining]") stat("Magic","[magic]") stat("Woodcutting","[woodcutting]") stat("Firemaking","[firemaking]") stat("Questpoints","[questpoints]") mob var attack = 1 defense = 1 strength = 1 cooking = 1 prayer = 1 ranged = 1 herblaw = 1 fletching = 1 crafting = 1 smithing = 1 mining = 1 magic = 1 woodcutting= 1 firemaking= 1 questpoints = 1 Hope that helps, - RaeKwon |
In response to RaeKwon
|
|
RaeKwon wrote:
Hope that helps, Mine already fixed his problems. He even thanked me for it he needs no more :P ^_^ Hehehe, ya was alittle late here Rae ^_~ --Lee |