-
Posts
36 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by christofereduardo
-
-
Hello, how are you. I have a problem with Lucky Roulette, when I activate item 673 [bronze coin] it starts working but I advance all stage without having to use the Silver Coin and Gold coin. Is it a bug or is it any configuration.
I am using hexed 2018-05-30bRagexeRE
Thank you
-
Hello there, here in the forum already Could you make this work by chance you have some tutorial what you need to do. Here below what I already have by chance has something else?
MaxLevelTable = { BaseLevel = 99, BaseLevel3rd = 175, BaseLevelExtend2 = 160, BaseLevelUpperJob = 175, BaseLevelHomun = 175, BaseLevelDoram = 175, JobLevelNovice = 10, JobLevelSuperNovice = 99, JobLevelBase = 50, JobLevel2nd = 70, JobLevel3rd = 60, JobLevelExtend2 = 50, JobLevelUpperJob = 60, JobLevelDoram = 50 } MakeableRace = {Doram = true} Url = { TwitterUrl = "http://112.175.128.140:3000/" } AccountLinkedUserDataUrl = { Save = "http://112.175.128.140:3000/userconfig/save", Load = "http://112.175.128.140:3000/userconfig/load" } AdventurerAgencyDataUrl = { Add = "http://112.175.128.140:3000/party/add", Delete = "http://112.175.128.140:3000/party/del", PrevPage = "http://112.175.128.140:3000/party/PrevPage", NextPage = "http://112.175.128.140:3000/party/NextPage" } TwitterDataUrl = { Auth = "http://112.175.128.140:3000/twitter/user-auth", Upload = "http://112.175.128.140:3000/twitter/upload" } LEVELAURA = {} LEVELAURA.EF_NONE = -1 LEVELAURA.EF_LEVEL99 = 200 LEVELAURA.EF_LEVEL99_ORB1 = 976 LEVELAURA.EF_LEVEL99_ORB2 = 977 LEVELAURA.EF_LEVEL150 = 978 LEVELAURA.EF_LEVEL150_SUB = 979 LEVELAURA.EF_LEVEL160 = 1022 LEVELAURA.EF_LEVEL160_SUB = 1023 Level99AuraTable = { Default99LvAura = LEVELAURA.EF_LEVEL99, Default99LvAura_sub = LEVELAURA.EF_LEVEL99_ORB1, Baby99LvAura = LEVELAURA.EF_LEVEL99, Baby99LvAura_sub = LEVELAURA.EF_LEVEL99_ORB2, SecondHigh99LvAura = 0, SecondHigh99LvAura_sub = 0, Homun99LvAura = 0, Homun99LvAura_sub = 0, Boss99LvAura_sub = LEVELAURA.EF_LEVEL99_ORB1 } MaxLevelAuraTable = { Default150LvAura = LEVELAURA.EF_LEVEL150, Default150LvAura_sub = LEVELAURA.EF_LEVEL150_SUB, Default160LvAura = LEVELAURA.EF_LEVEL160, Default160LvAura_sub = LEVELAURA.EF_LEVEL160_SUB, HomunMaxLvAura = LEVELAURA.EF_LEVEL160, HomunMaxLvAura_sub = LEVELAURA.EF_LEVEL160_SUB } function GetTableIntValueForC(tableName, keyName) local t = _G[tableName] if nil == t then return -1 end local intValue = t[keyName] if nil == intValue then return -1 else return intValue end end function GetTableStringValueForC(tableName, keyName) local t = _G[tableName] if nil == t then return "" end local stringValue = t[keyName] if nil == stringValue then return "" else return stringValue end end function GetTableBoolValueForC(tableName, keyName) local t = _G[tableName] if nil == t then return false end local boolValue = t[keyName] if nil == boolValue then return false else return boolValue end end
-
1 hour ago, Akkarin said:
Is it in your DB correctly? If you're using SQL DBs did you insert the rows?
heheh
REPLACE INTO `mob_db2` VALUES (20400,'S_EMPEL_3','Guardian Stone BG','Guardian Stone BG',90,120000,0,0,0,0,1,2,40,50,1,1,1,1,1,1,0,0,0,0,20,0x6200000,300,1288,288,384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); REPLACE INTO `mob_db2` VALUES (20401,'S_EMPEL_4','Guardian Stone BG','Guardian Stone BG',90,120000,0,0,0,0,1,2,40,50,1,1,1,1,1,1,0,0,0,0,20,0x6200000,300,1288,288,384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); REPLACE INTO `mob_db2` VALUES (20402,'EMPELIUM_1','Emperium BG','Emperium BG',90,68430,0,0,0,1,60,71,40,50,1,17,80,50,26,20,10,12,0,8,26,0x6200000,300,1288,288,384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
Ok tanks...
- 1
-
Good day I was having this error in my mob_avail someone knows how to solve?
My Mob_avail.txt
// Mob Availability and Alias Database // // Structure of Database: // MobID,SpriteID{,Equipment} // // 01. MobID Mob ID to change. // 02. SpriteID Mob ID which will be sent to the client instead of MobID. // If 0, the mob becomes unavailable for use. // 03. Equipment Item ID of pet equipment (must be available for pet counterpart, or this will cause problems). // // To disguise a mob as a player: // MobID,SpriteID,Sex,Hair_Style,Hair_Color,Weapon,Shield,Head_Top,Head_Middle,Head_Bottom,Option,Dye_Color // // SpriteID is a job class value. // Weapon and Shield uses Item ID, while Head uses View ID. 20400,1907,0 // Guardian Stone 1 BG 20401,1908,0 // Guardian Stone 2 BG 20402,1288,0 // Emperium BG
-
@@ -20747,11 +21020,16 @@ void clif_equipswitch_reply( struct map_session_data* sd, bool failed ){ void clif_parse_equipswitch_request( int fd, struct map_session_data* sd ){ #if PACKETVER >= 20170208 int i; + char output[128]; t_tick tick = gettick(); uint16 skill_id = ALL_EQSWITCH, skill_lv = 1; + if (pc_checkskill(sd,ALL_EQSWITCH)) + skill_lv = pc_checkskill(sd,ALL_EQSWITCH); if( DIFF_TICK(tick, sd->equipswitch_tick) < 0 ) { // Client will not let you send a request + sprintf(output, "[Swap Equipment Delay]: %I64i seconds remaining...", (DIFF_TICK(tick, sd->equipswitch_tick)/1000)*-1); + clif_messagecolor(&sd->bl,color_table[COLOR_CYAN],output,false,SELF); return; }
Where should I put this in the file clif.cpp can someone help me
-
On 2/25/2019 at 12:26 AM, rongmauhong said:
Hi
These constants was deprecated. You need to change
E_DOTS to ET_THINK
E_SWT to ET_SWEAT
E_PAT to ET_GOODBOY
You can see the full list at tools/convert_emotions.pyThanks your post helped me solve!!!
-
[Warning]: Usage of deprecated constant 'E_DOTS'.cao/Miner_World.txt [Warning]: This constant was deprecated and could become unavailable anytime soon. [Warning]: Usage of deprecated constant 'E_SWT'. [Warning]: This constant was deprecated and could become unavailable anytime soon. [Warning]: Usage of deprecated constant 'E_PAT'. [Warning]: This constant was deprecated and could become unavailable anytime soon.
Does anyone know what I can do to fix this?
thank you!!
-
- script Sample -1,{ OnPCLoginEvent: mes "[Points Viewer]"; mes "Hello "+strcharinfo(0); mes ""+#CASHPOINTS+" Cash and "+#KAFRAPOINTS+" Free Cash."; mes "-----------------------------------"; mes "Time VIP left"; mes ""+vip_status(2)+""; mes "-----------------------------------"; close; }
Hello would like the vip time foce displayed Days / month / or hours / minutes is somewhat confusing the way it is there.
-
23 hours ago, Tanlor said:
Você fala Português, Edu?
O char petrifica porque você usou um Status Change que não existe no rAthena, provavelmente esse Script foi feito pra algum outro emulador.
A lista dos correspondentes Status que você quer, são:
SC_FIREWEAPON (EFST_PROPERTYFIRE) desc: Change weapon element to Fire element val1: SC_WATERWEAPON (EFST_PROPERTYWATER) desc: Change weapon element to Water element val1: SC_WINDWEAPON (EFST_PROPERTYWIND) desc: Change weapon element to Wind element val1: SC_EARTHWEAPON (EFST_PROPERTYGROUND) desc: Change weapon element to Earth element val1:
Então só substituir os SC_ que provavelmente vai funcionar.
Fonte: https://github.com/rathena/rathena/blob/master/doc/status_change.txt
A animação de encantar tá saindo também? Se não tiver, recomendo que use specialeffect2 280; specialeffect2 281; specialeffect2 282; specialeffect2 283;
*specialeffect2 <effect number>{,<send_target>{,"<Player Name>"}}; This command behaves identically to 'specialeffect', but the effect will be centered on the invoking character's sprite. <Player name> parameter will display <effect number> on another Player than the one currently attached to the script. Like with specialeffect, when specifying a player, <send_target> must be supplied, specifying AREA will retain the default behavior of the command.
Não vou te dar o Script pronto porque é melhor pro seu aprendizado que substitua pelo menos os valores. Caso mesmo assim você não consiga, posta o Script com suas edições aqui que eu te ajudo.
Abraços!
English:
Do you speak Portuguese?
The char Petrifies because you're using a SC_ value that don't exists on rAthena. The following ones will work with the same effect you wish on your Script:
SC_FIREWEAPON (EFST_PROPERTYFIRE) desc: Change weapon element to Fire element val1: SC_WATERWEAPON (EFST_PROPERTYWATER) desc: Change weapon element to Water element val1: SC_WINDWEAPON (EFST_PROPERTYWIND) desc: Change weapon element to Wind element val1: SC_EARTHWEAPON (EFST_PROPERTYGROUND) desc: Change weapon element to Earth element val1:
So, just change the SC_ effects and probably it'll work.
Font: https://github.com/rathena/rathena/blob/master/doc/status_change.txt
The enchant animation is working too? If isn't, i suggest you to use specialeffect2 280; specialeffect2 281; specialeffect2 282; specialeffect2 283;
*specialeffect2 <effect number>{,<send_target>{,"<Player Name>"}}; This command behaves identically to 'specialeffect', but the effect will be centered on the invoking character's sprite. <Player name> parameter will display <effect number> on another Player than the one currently attached to the script. Like with specialeffect, when specifying a player, <send_target> must be supplied, specifying AREA will retain the default behavior of the command.
If it keeps not working, please post the edited Script here and I can help you some more.
Good luck!
ok Thank you!!
-
The script is petrifying the char. I'm not finding the problem. Someone can audition me.
prontera,150,188,3 script Encantadorinha 4_F_04,{ mes "[ Encantadora ]"; mes "Olá, bem vindo (a), eu posso Encantar a sua Arma com qualquer elemento por 5 minutos!"; mes "Deseja conferir o serviço?"; next; if(select("Sim.:Não.")==2){ mes "[ Encantadora ]"; mes "Volte quando precisar."; close; } mes "[ Encantadora ]"; mes "Qual elemento você quer?"; next; switch(select("Geada.:Chama.:Terremoto.:Ventania.:Sagrado.:Maldito.:Sair.")){ case 1: skilleffect 281,0; sc_start SC_FROST_WEAPON,2000000,5; // 400000 = 1 Minuto: Encantar com Geada, Duração: 5 Minutos, Level 5 close; case 2: skilleffect 280,0; sc_start SC_FIREWEAPON,2000000,5; // 400000 = 1 Minuto: Encantar com Chama, Duração: 5 Minutos, Level 5 close; case 3: skilleffect 283,0; sc_start SC_SEISMICWEAPON,2000000,5; // 400000 = 1 Minuto: Encantar com Terremoto, Duração: 5 Minutos, Level 5 close; case 4: skilleffect 282,0; sc_start SC_LIGHTNINGLOADER,2000000,5; // 400000 = 1 Minuto: Encantar com Ventania, Duração: 5 Minutos, Level 5 close; case 5: skilleffect 68,0; sc_start SC_ASPERSIO,60000,5; // 60000 = 1 Minuto: Encantar com Sagrado, Duração: 5 Minutos, Level 5 close; case 6: skilleffect 281,0; sc_start SC_SHADOWWEAPON,2000000,5; // 400000 = 1 Minuto: Encantar com Maldito, Duração: 5 Minutos, Level 5 close; case 7: close; } }
Thank you!!
-
5 minutes ago, Functor said:
Qual é a sua versão EXE?
2018-05-30bRagexeRE
-
Where I change the description of MAX INVENTORY because it gets 200/100 Where I change this / 100 in the inventory footer.
-
-
5 minutes ago, Akace said:
Bom, vou baixar e ver o que possa ser feito, creio que irei precisar de uma data nova, se tiver um link agradeço.
I'm going to download and see what can be done, i think i'll need a new date if i have a thank you link.
Usei a data desse tutorial funcionou sem problemas.
I used the date this tutorial worked without problems.
-
4 minutes ago, Akace said:
Ok, but this client does it work well with the kro date updated here in the forum?
ok, mas esse cliente funciona com a pasta kro atualizada aqui do forum ?
I have not tested it thoroughly but they are using it here in forum sim.
Não testei ele a fundo mas estão usando ele aqui no forum sim.
-
35 minutes ago, Akace said:
From what I understood during the week I was with the same problem is that the hexed 2018 does not have full support, I tried everything I also could not ended up going to 2017-06-14bRagexeRE for this reason.
Pelo que entendi durante a semana estive com o mesmo problema é que os hexed 2018 não tem total suporte, tentei de tudo também não consegui acabei indo para o 2017-06-14bRagexeRE por esse motivo. -
1 hour ago, Nitrous said:
Looks like you're using herc, not rA.
Not the script is not compatible with rathena. It is rather a hercules script here at rathena not found it. But I'm using Rathena emulator if I was not here asking for help.
-
I'm having these problems in npc I do not know what's wrong.
Errors.
[Error]: npc_parsesrcfile: Unable to parse, probably a missing or extra TAB in f ile 'npc/DRAGONAROK/Eventos/Fidelidade.txt', line '149'. Skipping line... * w1=- * w2=trade * w3=loyalty#shop * w4=-1,{ [Error]: npc_parsesrcfile: Unknown syntax in file 'npc/DRAGONAROK/Eventos/Fideli dade.txt', line '150'. Stopping... * w1=OnInit: * w2= * w3= * w4= [Info]: Done loading '12256' NPCs: -'3116' Warps -'186' Shops -'8954' Scripts -'3934' Spawn sets -'41088' Mobs Cached -'0' Mobs Not Cached [Debug]: NPCEvent 'loyalty#shop::OnInit' not found! (source: loyalty#controller)
Script:
/* __ __ / / )_/ ' ( _ _ ' _/ _ (__. (__/ /()/)/ __)( / //)/_) / Description: Sistema de Fidelidade Author: Leandro Otoni Pedido: Biju, Ryuho e mais. '-' Version: 1.0 Changelog: 1.0 Criação do NPC [L.Otoni] */ //========================================= // SQL // - Copiar e colar no PhpMyAdmin /*========================================= ALTER TABLE `login` ADD `loyalty_minute` INT NOT NULL DEFAULT '0' , ADD `loyalty_points` INT NOT NULL DEFAULT '0' ; */ // Quando player logar começa a contagem de tempo online. // A cada minuto ele ganha 1 ponto // Premiações extras a cada meta completa // A contagem é salva por conta - script loyalty#controller -1,{ OnInit: //==================================================== // Configurações Sistema Fidelidade //==================================================== //---------------------------------------------------- // 1. Quantidade de pontos de fidelidade por hora set .pontos, 1; // Padrão: 1 ponto por hora //---------------------------------------------------- // 2. Permitir contagem de pontos em @at/Vending? // - (0) Não permitir, (1) Permitir set .vending, 0; // Padrão: (0) Não permitir //---------------------------------------------------- // 3. Utilizar Cash ao inves de Pontos de Fidelidade? // - Caso ativado atribuirá a quantidade de pontos // p/hora ao comando @cash, sendo assim a cada 1h // online o player recebe X de cash (rops). // - (0) Não permitir, (1) Permitir set .cash, 0; // Padrão: (0) Desativado //---------------------------------------------------- // 4. Ativa sistema de conquistas? // - Pontos extra para cada conquista alcançada // - (0) Desativar, (1) Ativar set .achievement, 1; // Padrão: (1) Ativar //---------------------------------------------------- // 5. Ativar Loja Itens Fidelidade // - (0) Desativar, (1) Ativar set .shop, 1; // Padrão: (1) Ativar //---------------------------------------------------- // 5.1 Itens Loja Fidelidade // - <item_id>,<qtd_pontos>{<item_id>,<qtd_pontos>,...}; setarray .itens[0], 12208, 3, 12210, 4, 14232, 5, 12202, 1, 12203, 1, 12207, 1, 12204, 1, 12205, 1, 12206, 1, 13995, 4, 5423, 4300, 5137, 7200, 5490, 4300; //---------------------------------------------------- //==================================================== // Conquistas //==================================================== // <n° horas>,<quantidade pontos>; // 6,5; 6 horas = 5 pontos. // Deixar (;) apenas no ultimo setarray .achievements[0], 6, 5, 12, 20, 24, 80, 48, 320, 96, 1280, 192, 5120, 384, 20480, 768, 81920; // Ultimo //==================================================== // IMPORTANTE: Não Alterar as linhas abaixo //==================================================== donpcevent "loyalty#shop::OnInit"; end; // Carregando Loja //---------------------------------------------------- // Contagem de minutos/pontos OnPCLoginEvent: while(1) { sleep2 60000; // 1 minuto if(!checkvending() || .vending) { query_sql("UPDATE `login` SET `loyalty_minute` = `loyalty_minute` + '1' WHERE `account_id` = '"+getcharid(3)+"'"); query_sql("SELECT `loyalty_minute` FROM `login` WHERE account_id = '"+getcharid(3)+"'",.@minuto); if( !(.@minuto%60) ) { if( .cash ) atcommand "@cash " + .pontos + ""; else query_sql("UPDATE `login` SET `loyalty_points` = `loyalty_points` + '"+.pontos+"' WHERE `account_id` = '"+getcharid(3)+"'"); if( .achievement ) { for(set .@i, 0; .@i < getarraysize(.achievement); set .@i, .@i + 2) if( .achievements[.@i] == ( .@minuto / 60 ) ) { if( .cash ) atcommand "@cash " + .achievements[.@i+1]; else query_sql("UPDATE `login` SET `loyalty_points` = `loyalty_points` + "+.achievements[.@i+1]+" WHERE account_id = '"+getcharid(3)+"'"); announce "[Sistema de Fidelidade]: Conquista obtida, "+.achievements[.@i]+"h online, parabéns! Receba "+.achievements[.@i+1]+" Pontos de "+(.cash? "Cash" : "Fidelidade"),bc_self,0xBF5EFF; } } } } } end; } prontera,145,206,4 script Fidelidade 4_M_ZONDAOYAJI,{mes "[Fidelidade]";mes "Opa, se está vendo esta mensagem, é porque ocorreu um erro.";next;mes "[Fidelidade]";mes "Para corrigir, basta usar a Kafra para teleportar a outro mapa, depois volte aqui.";close;OnInit: waitingroom "Fidelidade",0; end;} - script loyalty#agent -1,{ callfunc "loyalty#resume"; end; } function script loyalty#resume { copyarray .@achievement[0], getvariableofnpc(.achievements[0],"loyalty#controller"),getarraysize(getvariableofnpc(.achievements,"loyalty#controller")); query_sql ("SELECT `loyalty_minute` / 60 , `loyalty_minute`, `loyalty_points` FROM `login` WHERE account_id = '"+getcharid(3)+"'",.@hora,.@minuto,.@points); set .npc$, "^6F34C2[Sistema de Fidelidade]^000000"; mes .npc$; mes "Seja bem vind"+(Sex?"o":"a")+" ^ff0000"+strcharinfo(0)+"^000000!"; mes "Tempo de Jogo: ^ff0000"+.@hora+" hora"+(.@hora > 1? "s" : "")+" e "+(.@minuto%60)+" minuto"+(.@minuto > 1? "s" : "")+"^000000."; mes "^F7AD00- Você pode acumular Pontos de Fidelidade permanecendo on-line.^000000"; mes "^3487C2- Você pode resgartar diversos prêmios com Pontos de Fidelidade.^000000"; next; switch(select("Sair"+( getvariableofnpc(.shop, "loyalty#controller") ? ":Resgatar Itens" : ":" )+( getvariableofnpc(.achievement, "loyalty#controller") ? ":Premiações Extras" : "" ))) { case 1: { mes .npc$; mes "Tudo bem, tenha um bom dia."; close; } case 2: { mes .npc$; mes "É pra já, olha só os itens incríveis que temos em nossa lojinha. ^^"; close2; callshop("loyalty#shop"); end; } case 3: mes .npc$; mes "Premiação Padrão"; mes "^ff0000Por Hora:^000000 1 Ponto de Fidelidade."; mes " "; mes "Premiações Extras: " + ( .@hora < getelementofarray(getvariableofnpc(.achievements, "loyalty#controller"), (getarraysize(getvariableofnpc(.achievements,"loyalty#controller")) - 2 )) ? "^ff0000Incompleto!":"^00B0EFCompleto!") + "^000000"; for(set .@i, 0; .@i < getarraysize(.@achievement); set .@i, .@i + 2) { mes ( .@hora < .@achievement[.@i] ? "^ff0000" + .@achievement[.@i] + "h^000000: " : "^999999" + .@achievement[.@i] + ": ") + .@achievement[.@i+1] + " Pontos de "+(getvariableofnpc(.cash,"loyalty#controller")? "Cash" : "Fidelidade")+"."; } next; mes .npc$; mes "Continue juntando Pontos de Fidelidade e troque por itens incríveis aqui comigo. ^^"; mes "Tenha um bom jogo e nos vemos por aí!"; next; callfunc "loyalty#resume"; } } - trade loyalty#shop -1,{ OnInit: copyarray .@itens[0], getvariableofnpc(.itens[0],"loyalty#controller"),getarraysize(getvariableofnpc(.itens,"loyalty#controller")); tradertype(NST_CUSTOM); for(set .@i, 0; .@i < getarraysize(.@itens); set .@i, .@i + 2) sellitem .@itens[.@i],.@itens[.@i+1]; end; OnCountFunds: query_sql ("SELECT `loyalty_points` FROM `login` WHERE account_id = '"+getcharid(3)+"'",@loyalty); setcurrency(@loyalty); end; OnPayFunds: if( @loyalty < @price ) end; query_sql("UPDATE `login` SET `loyalty_points` = `loyalty_points` - '"+@price+"' WHERE `account_id` = '"+getcharid(3)+"'"); purchaseok(); end; } /* Duplicates */ prontera,145,206,4 duplicate(loyalty#agent) Sistema de Fidelidade#prt 4_M_ZONDAOYAJI /* Fim do NPC */
Tanks:
-
13 hours ago, llchrisll said:
Add end; after setarray then it should work.
You don't get the error when login in, you get it when the server starts cuz of an missing end; at OnInit. The server continues afterwards what it shouldn't.
Regards,
Chris
Tanks Fix the problem!
-
Hi, I'm having this script and I'm facing some errors and Debug would like to log in to delete all of the [setarray] items but he's only deleting one every time I log into the account, please someone can help me.
Errors debugs:
[Error]: buildin_countitem: fatal error ! player not attached! [Debug]: Function: countitem (1 parameter): [Debug]: Data: variable name='$proibidos' index=0 [Debug]: Source (NPC): AntiEdit (invisible/not on a map)
Npc Script:
- script AntiEdit -1,{ OnInit: setarray $proibidos[0],1599,2199; // Colque os ID's dos itens proibidos OnPCLoginEvent: for(set .@i,0; .@i < getarraysize($proibidos); set .@i,.@i + 1){ query_sql "DELETE FROM `storage` WHERE `nameid` = '"+$proibidos[.@i]+"'"; query_sql "DELETE FROM `cart_inventory` WHERE `nameid` = '"+$proibidos[.@i]+"'"; query_sql "DELETE FROM `guild_storage` WHERE `nameid` = '"+$proibidos[.@i]+"'"; query_sql "DELETE FROM `auction` WHERE `nameid` = '"+$proibidos[.@i]+"'"; query_sql "DELETE FROM `mail` WHERE `send_id` = '"+$proibidos[.@i]+"'"; if(countitem($proibidos[.@i]) >= 1){ delitem $proibidos[.@i],1; dispbottom "[Segurança] "+getitemname($proibidos[.@i])+" foi deletado do seu inventário por ser um item proibido."; end; } } } - script AntiEditstatus -1,{ OnPCLoginEvent: for( set .@i,13; .@i <=18; set .@i,.@i + 1 ) if( readparam(.@i) > 120 ) set .@OverStat,.@OverStat + 1; if( .@OverStat ){ announce "O player "+strcharinfo(0)+" foi banido por motivos de tentar burlar pontos de atributos.",8; sleep2 9000; atcommand "@kick "+strcharinfo(0); atcommand "@block " + strcharinfo(0); } end; }
-
3 hours ago, Emistry said:
- The array should be initialized using the OnInit event label.
- Delete query are supposedly to execute when the server are offline, your method would not work in this case.
Thank you it worked out one more thing right now. If the player has more than 1 item he does not delete all at once only one at a time how do I delete more than 1 item, or all at once?
Tanks:
-
Please help the script no check no dell items.
- script AntiEdit -1,{ setarray $proibidos[0],1599,2199; // Colque os ID's dos itens proibidos OnPCLoginEvent: for(set .@i,0; .@i < getarraysize($proibidos); set .@i,.@i + 1){ query_sql "DELETE FROM `storage` WHERE `nameid` = '"+$proibidos[.@i]+"'"; query_sql "DELETE FROM `cart_inventory` WHERE `nameid` = '"+$proibidos[.@i]+"'"; query_sql "DELETE FROM `guild_storage` WHERE `nameid` = '"+$proibidos[.@i]+"'"; query_sql "DELETE FROM `auction` WHERE `nameid` = '"+$proibidos[.@i]+"'"; query_sql "DELETE FROM `mail` WHERE `nameid` = '"+$proibidos[.@i]+"'"; if(countitem($proibidos[.@i]) >= 1){ delitem $proibidos[.@i],1; dispbottom "[Segurança] "+getitemname($proibidos[.@i])+" foi deletado do seu inventário por ser um item proibido."; end; } }
Tanks:
-
can you help me here?
- 1
-
I spent the afternoon pixel mechendo with this your diff is also giving this skill problem.
By the way, tell me where to fix this.
Lucky Roulette stage 's Bug
in Source Support
Posted
With the proper amount of coins in inventory, click on the Start button to activate the cursor that will cycle through the prize icons. If the cursor lands on an item, you have the option to Get Prize or Start to spin on the next row for slightly better rewards. If the cursor lands on the first item to the far left, you can only Get Prize and you must spend more coin in order to play again.
http://wiki.jellyro.com/index.php/Lucky_Roulette