Jump to content
  • 0

Error from my database


Question

Posted

hi good day again rathena i was wondering how to fix this error

 

[error]: buildin_getvar: 'hp' is a parameter - please use readparam instead

 

 thank you so much

9 answers to this question

Recommended Posts

  • 0
Posted

that happen if the player have a party and no body is with him during hunting :) because they are not bothered to left their party :D

Tip: Your script is not complete on that part. Add some script that check if the player have a party and he is solo hunting, i fixed this already in my server :)

 

 

  • Upvote 1
  • 0
Posted
1 hour ago, Questune09 said:

hi good day again rathena i was wondering how to fix this error

 

[error]: buildin_getvar: 'hp' is a parameter - please use readparam instead

 

 thank you so much

Hi, Do you have the source of error? :))

  • 0
Posted (edited)

i bet this from hunting missions.txt line 290

				set .@Mission_Count, getvar(#Mission_Count, $@partymembercid[.@i]);
				set .@Mission0, getvar(Mission0, $@partymembercid[.@i]);
				set .@HP, getvar(HP, $@partymembercid[.@i]);  // this HP causing error

				if (.@Mission_Count && .@Mission0 && .@HP > 0) {

system read variable as Healt Point (HP) param....  i just add somthing on back of its HP

				set .@Mission_Count, getvar(#Mission_Count, $@partymembercid[.@i]);
				set .@Mission0, getvar(Mission0, $@partymembercid[.@i]);
				set .@HP, getvar(HPr, $@partymembercid[.@i]);

				if (.@Mission_Count && .@Mission0 && .@HPr > 0) {

or maybe im wrong , idk

next, better u provide more information on your error..:D

Edited by Valor
  • Upvote 2

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...