Problem NPC Relic

Baldasor

Dedicated Member
Dedicated Member
Jan 3, 2008
179
0
63
Good to all, Relic's NPC does not cover us well, we give 200 fps for every relic but bugea or not that happens(passes), someone sabria to say to me that it(he,she) happens(passes)? It(he,she) does not happen(pass) from 200, you sell one and it(he,she) does not leave you mas, low me from 6000 to 200...

Regards.
 

DjDarkBoyZ

Dev
Golden Oldie
Aug 11, 2006
1,065
228
260
127.Ø.Ø.1
Check the server version documentation for increment and not change the value for the equal you need to increment.

is not the same:
parameter = parameter + value
parameter = value

In script is not like this, but is only an example to understand.

If you are using holley try this:

HLSCRIPTCMD SETPOINT + 200

This adds the 200 points.

Enjoy ;)
 
Upvote 0

Geordiehc

Mad Dog Geo
VIP
Jul 4, 2007
2,827
49
195
Redditch, UK
By the sound of it the script giving you fame is wrong, instead of adding 200 to your current fame its giving you just 200 fame, if you post the script we can help you more but it should look liek this

#IF
CHECKFAME
#ACT
mov D0
INC D0 200
SETFAME %D0

should look something liek that, been a while since i did fame though but as i say post the script and will be easier to help you
 
Upvote 0

Baldasor

Dedicated Member
Dedicated Member
Jan 3, 2008
179
0
63
I am Spanish, use translator, because of it I do not deal very well, thank you very much for answering, I you put the NPC like it have made, and me decis if podeis in that I fail, graces(thanks) in advance.



[@main]
#SAY
El otro dia perdi mi kingrelic\
me puedes ayudar a encontrarla?\
A cambio te dare un regalo muy bueno\
<Te ayudo/@ayudar>
<No te ayudo/@exit>
[@ayudar]
#IF
CHECKITEM KingRelic 1
#ACT
TAKE KingRelic 1
INC D4 200
SetFame %D4
#SAY
Gracias por traermela que dios te bendiga!\
#ELSESAY
FUERA DE AQUI IDIOTA!!\
 
Upvote 0

Geordiehc

Mad Dog Geo
VIP
Jul 4, 2007
2,827
49
195
Redditch, UK
I am Spanish, use translator, because of it I do not deal very well, thank you very much for answering, I you put the NPC like it have made, and me decis if podeis in that I fail, graces(thanks) in advance.



[@main]
#IF
CHECKFAME
#ACT
mov D4
#SAY
El otro dia perdi mi kingrelic\
me puedes ayudar a encontrarla?\
A cambio te dare un regalo muy bueno\
<Te ayudo/@ayudar>
<No te ayudo/@exit>
[@ayudar]
#IF
CHECKITEM KingRelic 1
#ACT
TAKE KingRelic 1
INC D4 200
SetFame %D4
#SAY
Gracias por traermela que dios te bendiga!\
#ELSESAY
FUERA DE AQUI IDIOTA!!\
That should work there i think as i say im a bit rusty but i was right, the script was setting fame as 200 instead of increasing the already gained fame by 200
 
Upvote 0

ticuro

Dedicated Member
Dedicated Member
Oct 25, 2008
20
0
47
I am Spanish, use translator, because of it I do not deal very well, thank you very much for answering, I you put the NPC like it have made, and me decis if podeis in that I fail, graces(thanks) in advance.



[@main]
#SAY
El otro dia perdi mi kingrelic\
me puedes ayudar a encontrarla?\
A cambio te dare un regalo muy bueno\
<Te ayudo/@ayudar>
<No te ayudo/@exit>
[@ayudar]
#IF
CHECKITEM KingRelic 1
#ACT
TAKE KingRelic 1
MOV D4 %P9
INC D4 200
SetFame %D4
#SAY
Gracias por traermela que dios te bendiga!\
#ELSESAY
FUERA DE AQUI IDIOTA!!\

This works fine^^

Good luck friend ;P
 
Upvote 0