Jump to content
  • 0

Error & Debug On Putty


Question

7 answers to this question

Recommended Posts

Posted

show your pvpladder script...we dunno what caused this problem in your script without take a look in your script

for skill...perhap you edit the skill_db recently ? re-check what you have edit in there

Posted (edited)

for this error 2b8ev6zt1t.png lemme guess you have Beer Hat/Cap?

the script on the item_db doesn't seem to have

{ bonus bFlee2, 5; skill SM_RECOVERY, 3; skill MG_SRECOVERY, 3; }

"" on the skill part

this should be it:

{ bonus bFlee2,5; skill "SM_RECOVERY",3; skill "MG_SRECOVERY",3; }

Edited by ngek202
Posted

sir ngek

beer hat on my server disable

:)

//5416,Beer_Cap,Beer Hat,5,20,,600,,2,,0,0xFFFFFFFE,7,2,256,,18,1,418,{ bonus bFlee2,5; skill "SM_RECOVERY",3; skill "MG_SRECOVERY",3; },{},{}

Posted

For the first error, you can get rid of it by adding "end;" before "L_LadderMove:".

It should not, but could, affect the script.

end;
L_LadderMove:

For the "Expected string" errors. You need to give the function the correct type of values for it to work.

It expects an integer, gets a string. There's 2 ways to fix it.

1) Typecast, change ex: getstrlen(var) to getstrlen(""+var). You add an empty string to force it to turn in to a string.

2) Check if the function is needed at all. You send an integer in to the function atoi which is used to turn string to integers = not needed.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...