NPC Ultimate PvP Warper Bug

ZelosAvalon

New member
Messages
218
Points
0
Age
34
Emulator
Code:
   87: S_payment:    88:         if (Zeny < (98*BaseLevel + 0)) {    89:                 mes "Not with you don't have enough zeny";*   90:                 mes "It cost you" + (98*Base Level + 0) + "to enter";        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^    91:                 close; 
i got this error on Base "L"evel, how can i fix it? maybe Base Level script was change on hercules like checkquest > questprogree?
 
If you mean buildin variable it should be BaseLevel (without space)

 
If you mean buildin variable it should be BaseLevel (without space)
this part donst work too u can tell me why ?

prontera.gat,154,183,3 script Ultimate PvP Warper 966,{ if (.pvp_square$=="") donpcevent "Ultimate PvP Warper::OnClock0000"; mes "[PvP Warper]"; mes "which room you want to join?"; switch(select("PVP Square ["+getmapusers(.pvp_square$)+"/20]:PVP Nightmare ["+getmapusers("guild_vs3")+"/20]:PVP Compass ["+getmapusers("pvp_n_5-5")+"/20]:PVP Purist ["+getmapusers("pvp_n_5-5")+"/20]:PVP Non Donator ["+getmapusers("pvp_n_5-5")+"/20]:PvP Baby Room ["+getmapusers("pvp_n_5-5")+"/20]")) { case 1: // PVP Square if (getmapusers(.pvp_square$) > 99) callsub S_full; callsub S_payment; warp ".pvp_square$",0,0; end;
OnInit:
  waitingroom " P v P  R O O M ",0;
    end;
OnClock0000:
// set the "PVP Square" map, based on day of the weeek
switch(gettime(4)) {
case 0: // Sunday
set .pvp_square$, "guild_vs2";
break;
case 1: // Monday
set .pvp_square$, "guild_vs5";
break;
case 2: // Tuesday
set .pvp_square$, "pvp_n_5-5";
break;
case 3: // Wednesday
set .pvp_square$, "pvp_n_3-3";
break;
case 4: // Thursday
set .pvp_square$, "guild_vs3";
break;
case 5: // Friday
set .pvp_square$, "guild_vs2";
break;
case 6: // Saturday
set .pvp_square$, "guild_vs2";
break;
}
i think its all right!

 
Remove quotes from variable after warp

Code:
warp .pvp_square$,0,0;
 
Back
Top