Jump to content
  • 0

Getting error Help


LearningRO

Question


  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  770
  • Reputation:   69
  • Joined:  02/10/12
  • Last Seen:  

hi i have a problem with mya Script PVP ladder

 

i got error like this

 

[Error]: script:op_2: invalid data for operator C_LOR
[Debug]: Data: number value=1
[Debug]: Data: string value="pvp_n_6-5"
[Debug]: Source (NPC): job_pvp (invisible/not on a map)

how to fix that?

 

this is my script, i use anniruru pvp ladder

 

OnPCLoadMapEvent:
	if ( strcharinfo(3) != "guild_vs3" || "pvp_n_6-5" || "pvp_y_2-2" || "prtg_cas01" || "aldeg_cas03" || "payg_cas03" || "payg_cas03" || @pvpl_kills || @pvpl_deaths ) end; 
	query_sql "select kills, deaths from pvpladder where char_id = "+ getcharid(0), @pvpl_kills, @pvpl_deaths;
	end;
}
Edited by melv0
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  177
  • Reputation:   21
  • Joined:  01/31/12
  • Last Seen:  

if ( strcharinfo(3) != "guild_vs3" || "pvp_n_6-5" || "pvp_y_2-2" || "prtg_cas01" || "aldeg_cas03" || "payg_cas03" || "payg_cas03" || @pvpl_kills || @pvpl_deaths ) end; 
Change to:

if ( strcharinfo(3) != "guild_vs3" || strcharinfo(3) != "pvp_n_6-5" || strcharinfo(3) != "pvp_y_2-2" || strcharinfo(3) != "prtg_cas01" || strcharinfo(3) != "aldeg_cas03" || strcharinfo(3) != "payg_cas03" || strcharinfo(3) != "payg_cas03" || @pvpl_kills || @pvpl_deaths ) end;

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  770
  • Reputation:   69
  • Joined:  02/10/12
  • Last Seen:  

@luciar

 

Thx luciaar it's work now :D

Link to comment
Share on other sites

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.

×
×
  • Create New...