Jump to content

Question

Posted (edited)

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

2 answers to this question

Recommended Posts

Posted

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

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