Chun3
Members-
Posts
67 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by Chun3
-
[show case] Game boy - Sokoban
Chun3 replied to plus724254's topic in Game, Event, Quest Script Releases
asians -
Oh i see, thanks! i thought it was a variable from bought_x functions.
-
i was trying to see if land protector cancels pneuma, but it doesn't, then it would be eeasy to cast a little land protector at the ganbatein area then use the normal skill to fix. no sucess. if someone knows, it will help. this is a bug.
-
- shop custom_seller2 -1,501:-1 prontera,155,148,3 script Poring Seller 476,{ mes "I will sell you items for " + getitemname(.CoinID) + "."; callshop "custom_seller2",1; npcshopattach "custom_seller2"; end; OnBuyItem: mes ""+.Price[[email protected]]+""; mes ""[email protected]_nameid[[email protected]]+""; for(set [email protected],0; [email protected]<getarraysize(.customs); set [email protected],[email protected]+1) { for(set [email protected],0; [email protected]<getarraysize(@bought_nameid); set [email protected],[email protected]+1) { if(@bought_nameid[[email protected]]==.customs[[email protected]]) { if(checkweight(@bought_nameid[[email protected]],@bought_quantity[[email protected]])) { if(countitem(.CoinID) >= .Price[[email protected]]*@bought_quantity[[email protected]]) { delitem .CoinID,.Price[[email protected]]*@bought_quantity[[email protected]]; getitem @bought_nameid[[email protected]],@bought_quantity[[email protected]]; } else dispbottom "You don't have enough "+getitemname(.CoinID)+" to purchase that item."; } else dispbottom "Purchasing these items will put you over the weight limit!"; } } } deletearray @bought_quantity, getarraysize(@bought_quantity); deletearray @bought_nameid, getarraysize(@bought_nameid); close; OnInit: setarray .customs[0],12028,607,678;// Enter the ID of customs here setarray .Price[0],10,3,5; // Price for each custom is set to 20 coins set .CoinID,7539; // Enter the ID of the coin here. npcshopitem "custom_seller2",0,0; // Don't touch any coding beyond here for(set .i,0; .customs[.i]; set .i,.i+1) npcshopadditem "custom_seller2",.customs[.i],.Price[.i]; end; } My question is: this line mes ""[email protected]_nameid[[email protected]]+""; shows the correct name when a item is bought this line mes ""+.Price[[email protected]]+""; doesn't show the right price. its always Price[0] why? isn't [email protected] supossed to be a npc variable after the bought?
-
Como assim? É pra ficar armazenado na variável global #CASHPOINTS. Faz o teste , coloca em um npc qualquer dispbottom ""+#CASHPOINTS+"";
-
Trying to use aMod extended rankings (2 files only.) https://github.com/aMod-Team/aMod-Extended-Rankings phpmyadmin is okay, the char_bg are working ok, but when i try to see on flux i get nothing. (not using 99 level player group)
-
Tenta instalar em uma pasta flux limpa pra testar. Usa a última versão do flux.
-
getitem .rotd_item_id,rand( .rotd_item_amount );
-
Enable Monster Tables on hexed diff.
-
2012-04-10aragexe 2014-03-05bRagexe Esses 2 são bem estáveis.
-
https://www.eathena.org/eathena/svn/trunk/readme/commands.html
-
search for the war brave id
-
Hi, the clients from 2012 have a "bigger" menu's size. i would like to ask if there is a way of hex edit to change this? Thanks! https://imgur.com/undefined https://imgur.com/a/FRL0W70 https://imgur.com/undefined