Break San
Members-
Content Count
240 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by Break San
-
I checked and I do not I can add in that line?
-
I have the following error can anyone help me the one? CC vending.cvending.c: In function ‘vending_purchasereq’:vending.c:284: warning: ‘item_name’ may be used uninitialized in this function LD map-serverobj_sql/atcommand.o: In function `atcommand_item':/home/emulador/src/map/atcommand.c:901: undefined reference to `strcmpi'collect2: ld returned 1 exit statusmake[1]: *** [../../map-server] Error 1make[1]: Leaving directory `/home/emulador/src/map'make: *** [map_sql] Error 2
-
the monster this not being invoked
-
Now given this error I think the problem is in this line OnCampdead1: mapannounce "que_qaru01",(Sex?"O":"A")+" Jogador"+(Sex?" ":"a ")+"["+strcharinfo(0)+"] derrotou o Guardião... O Cristal foi descoberto!",8; if($@PvPBC) pvpon "que_qaru01"; monster "que_qaru01",73,271,"Cristal",2801,1,"HiddenNpca::OnCampdead2"; end;OnCampdead2: mapannounce "que_qaru01",(Sex?"O":"A")+" Jogador"+(Sex?" ":"a ")+"["+strcharinfo(0)+"] recuperou o Cristal do Guerreiro Arcanjo!",8; if($@PvPBC) pvpoff "que_qaru01"; set $@PremioOk,1; getitem 6027,1; end;}
-
My script is giving error someone help?
-
The problem I do not have the sql. execute this on your database mate ALTER TABLE `login` ADD COLUMN `last_mac` VARCHAR(18) NOT NULL DEFAULT '' AFTER `pincode_change` ; let me know some script to block dual acc on a map? http://herc.ws/board/topic/6724-about-1-per-mac-ip-except-vending-or-at/?hl=dual It is possible to put in a certain map?
-
The problem I do not have the sql. execute this on your database mate ALTER TABLE `login` ADD COLUMN `last_mac` VARCHAR(18) NOT NULL DEFAULT '' AFTER `pincode_change` ; let me know some script to block dual acc on a map?
-
The problem I do not have the sql.
-
I have an error in the script takes the table
-
Making the group_id to 1, but if I log back 2 times back to group_id 0. The dt_vip is not changing. @edit Resolved I used the following code set .@account_id,getcharid(3);updatePoints( .@account_id,-3 );query_sql "UPDATE `login` SET `dt_vip` = if( `group_id` = 1 and `dt_vip` > now(), `dt_vip` + INTERVAL 1 day, now() + interval 1 day ), `group_id` = 1 WHERE `account_id` = "+ .@account_id;atcommand "@adjgroup 1";garbagecol();close2;end;
-
It did not work, it has not done the update
-
so if initially group_id is 0 it will never ever happen to set to 1 if the condition is `group_id` = 1 and even your else block of 'if (getgroupid() == 0)' is useless if you try to evaluate it More needs to be validated for one day, that is, an exchange point for 1 day 3 vip mes "Okay!";.@account_id = getcharid(3);.@usedPoints = 3;.nivelVip = 1;.diasVip = 1;$verificaVip = 1;query_sql("UPDATE `cp_v4p_voters` SET points=(points-"+.@usedPoints+") WHERE account_id='"+.@account_id+"'");atcommand "@kick " + strcharinfo(0);if (getgroupid() == 0){query_sql "UPDATE `login` SET `group_id` = 1, `dt_vip` = DATE_ADD(`dt_vip`,INTERVAL "+$diasVip+" DAY) WHERE `group_id` = 1 AND `account_id` = "+getcharid(3);dispbottom "Relogue para ter seu VIP ativado.";}else{query_sql "UPDATE `login` SET `group_id` = 1, `dt_vip` = DATE_ADD(`dt_vip`,INTERVAL "+$diasVip+" DAY) WHERE `group_id` = 1 AND `account_id` = "+getcharid(3);}garbagecol();close2;message strcharinfo(0),"Pontos adicionados";end;
-
jaBoteThe problem that this not working, I do not understand why, The points are being consumed normally, just not doing the change in table
-
Added, gave no error in the console more group_id not changed group_id = 1 / One day
-
This would? tested is giving debug mes "Okay!";set .@account_id,getcharid(3);set .@usedPoints,3;set $nivelVip, 1;set $diasVip, 1;set $verificaVip, 1;query_sql("UPDATE `cp_v4p_voters` SET points=(points-"+.@usedPoints+") WHERE account_id='"+.@account_id+"'");if (getgroupid() == 0){atcommand "adjgroup 1 " ;query_sql "UPDATE `login` SET `group_id` = "+$nivelVip+", `dt_vip` = DATE_ADD(`dt_vip`,INTERVAL "+$diasVip+" DAY) WHERE `group_id` = "+$nivelVip+" AND `account_id` = "+getcharid(3);dispbottom "Relogue to get your VIP activated.";}else{query_sql "UPDATE `login` SET `group_id` = "+$nivelVip+", `dt_vip` = DATE_ADD(`dt_vip`,INTERVAL "+$diasVip+" DAY) WHERE `group_id` = "+$nivelVip+" AND `account_id` = "+getcharid(3);}garbagecol();close2;message strcharinfo(0),"points added";end;case 2:close;}
-
Yes I did, I made the change as you posted. But the group_id is not changing. I take off again when just continue with group_id = 0 You can review the script?
-
The off was done, the problem that this does not alter the group_id to 1, and leaving it only for 1 day in the table dt_vip. This script is just to get the three points of the vote and return for a day of vip.
-
are you using hercules or another emulator? If you are using hercules, are you using a recent version of it? Yes I am using the latest version of Hercules. I think the problem only in the update For the script works
-
No, the points are normally consumed only update that is not done
-
It did not work, I'll post the full script Points are consumed is not only made the update on the table http://pastebin.com/yx19q9yx
-
I'm trying to add script option trading 3 points for 1 day vip, more is wrong giving someone help? mes "Okay!";set .@account_id,getcharid(3);set .@usedPoints,3;set $nivelVip, 1;set $diasVip, 1;set $verificaVip, 1;query_sql("UPDATE `cp_v4p_voters` SET points=(points-"+.@usedPoints+") WHERE account_id='"+.@account_id+"'");if (getgroupid() == 0){query_sql "UPDATE `login` SET `group_id` = "+$nivelVip+", `dt_vip` = DATE_ADD(`dt_vip`,INTERVAL "+$diasVip+" DAY) WHERE `group_id` = "+$nivelVip+" AND `account_id` = "+getcharid(3);dispbottom "Relogue para ter seu VIP ativado.";}else{query_sql "UPDATE `login` SET `group_id` = "+$nivelVip+", `dt_vip` = DATE_ADD(`dt_vip`,INTERVAL "+$diasVip+" DAY) WHERE `group_id` = "+$nivelVip+" AND `account_id` = "+getcharid(3);}garbagecol();close2;message strcharinfo(0),"Points added";end;
-
Does anyone know tells me because when teams return for the same period HP? All teams battleground
-
I noticed that on my server the attributes are getting well. The correct thing so How to fix? That is, two stops 99 and 25