Jump to content

nanakiwurtz

Members
  • Posts

    1654
  • Joined

  • Last visited

  • Days Won

    66

Everything posted by nanakiwurtz

  1. I mean, why not use another script than this kind of script that logs users IP address, because if they played in a public internet cafe, there's always will be a problem like this.
  2. I think what he means is, he wants to use the item (apple) in exchange of gmlevel 1 for 1 months. So instead of using #CASHPOINTS, he wants to use an item. if (countitem(502) < 1) {mes "You don't have enough apple to exchange";close;} mes "It looks like you have "+countitem(502)+" apple."; mes "If you click the next button, I'll take 1 of your apple."; next; delitem 502,1; mes "Now you only have "+countitem(502)+" apple left."; close;
  3. If you searched the forum, there's a script that will give the prize only to guild leader, and it'll be the guild leader's task to divide and share the prize equally to their members.
  4. Umm... where's the download link?
  5. The chance in your script is very low, you can calculate the odd. 1st part: 1/14 = 7.14% even after you succeed on 1st part, you'll have to pass through the 2nd one. 2nd part: 3/49 = 6.12%.
  6. Add this to upper part of your code. if(gmlevel <= 90) close;
  7. First, read the tutorial or wiki, on how to setup the server and client. Then, rent a server from a hosting company. You can read the detail from various posts around the forum
  8. Will it work on eAthena server? Why don't you try to run it on your server and post back here the result...
  9. I have done that Ah well, I guess there's no one who can help me to write the css
  10. Or maybe your SQL isn't being updated with the latest save coordinates.
  11. Maybe he wants 100 golden coins as the prize for each castle that can be claimed on guild leader's room. (I'm changing my job to become a mind reader)
  12. If I recall correctly, there's a script that is Twitter like (or maybe Facebook's wall). But unfortunately I forgot the link D:
  13. Well, multi switches isn't really my style. I'm just editing his script In fact, I don't know those item id, I'm just guessing hehe..
  14. Simply use the original questshop provided in the svn, or just use Euphy's quest script.
  15. Update your svn and recompile.
  16. Search through all of your scripts for OnPCLogin event. There must be a script that warp the players into prontera's church.
  17. You can see the example on Mysterious' svn folder, just change the label, follow the rest and you're done
  18. //============================================= //== Event Manager ====== //== Version: ================================= //== 1.0 //== by Zelos: ================================ //== //============================================= prontera,165,155,2 script Event manager 804,{ mes "[Event manager]"; mes "Hello "+StrCharInfo(0)+"!"; mes "I'm the Event Manager."; mes "You give me Event Coins, i reward you. It's that simple!"; next; switch(select("1 - Tell me more about Event coins and rewards","2 - I want to convert my Event Coins","3 - I want to receive my rewards","4 - Well,it was nice meeting you")){ case 1: mes "[Event Manager]"; mes "There are 3 types of Event Coins you may win from Events:"; mes " - "+getitemname(8032); mes " - "+getitemname(8033); mes " - "+getitemname(8034); next; mes "[Event manager]"; mes "The exchange rates between Event Coin are:"; mes " 1 Golden Coin = 5 Silver Coins"; mes " 1 Silver Coin = 5 Bronze Coins"; next; mes "[Event mMnager]"; mes "Here is the list rewards you may receive from your Event Coins:"; mes "( Note that in this list, we have: GC = Golden Coins, SC = Silver Coins and BC = Bronze Coins )"; next; mes "[Event Manager]"; mes "1.[10000] Zeny for 1 BC]"; mes "2.[10]Yggdrasil Seeds for 2 BC]"; mes "3.[10]Yggdrasil Berry for 2 SC]"; mes "4.""; mes "5.""; close; case 2: mes "[Event Manager]"; mes "Remeber the conversion rates:"; mes " 1 Golden Coin = 5 Silver Coins"; mes " 1 Silver Coin = 5 Bronze Coins"; mes "so, which type of conversion would you like to do?"; next; switch(select("1-Gold Coin => Silver Coin","2-Silver Coin => Bronze Coin","3-Bronze Coin => Silver Coin","4-Silver Coin => Golden Coin","5-Nothing for now...")){ case 1: mes "[Event Manager]"; mes "How many Golden Coins you want to convert?"; input .sc; next; if(countitem(8032) < .sc){mes "[Event Manager]";mes "You don't have enough Golden Coins.";close;} delitem 8032,.sc; mes "[Event Manager]"; mes "Thank you for choosing RagnaRebirth that luck be with you in future events, and you can win many Coins, and exchange with beautiful items."; getitem 8033,.sc; close; case 2: mes "[Event Manager]"; mes "How many Silver Coins you want to convert?"; input .sc; next; if(countitem(8033)<.sc){mes "[Event Manager]";mes "You don't have enough Silver Coins.";close;} delitem 8033,.sc; mes "[Event Manager]"; mes "Thank you for choosing RagnaRebirth that luck be with you in future events, and you can win many Coins, and exchange with beautiful items."; getitem 8034,.sc; close; case 3: mes "[Event Manager]"; mes "How many Silver Coins do you want to get?"; input .sc; next; if(countitem(8034<(.sc*5)){mes "[Event Manager]";mes "You don't have enough Bronze Coins.";close;} delitem 8034,(.sc*5); mes "[Event Manager]"; mes "Thank you for choosing RagnaRebirth that luck be with you in future events, and you can win many Coins, and exchange with beautiful items."; getitem 8033,.sc; close; case 4: mes "[Event Manager]"; mes "How many Golden Coins do you want to get?"; input .sc; next; if(countitem(8033<(.sc*5)){mes "[Event Manager]";mes "You don't have enough Silver Coins.";close;} delitem 8033,(.sc*5); mes "[Event Manager]"; mes "Thank you for choosing RagnaRebirth that luck be with you in future events, and you can win many Coins, and exchange with beautiful items."; getitem 8032,.sc; close; case 5: mes "[Event Manager]"; mes "Ok, no problem."; close; } case 3: mes "[Event Manager]"; mes "Here is the rewards you may receive from your Event Coins:"; mes "( Note that in this list, we have: GC = Golden Coins, SC = Silver Coins and BC = Bronze Coins )"; next; switch(select("1.[10000] Zeny for 1 BC","2.[10]Yggdrasil Seeds for 2 BC","3.[10]Yggdrasil Berry for 2 SC")){ case 1: mes "[Event Manager]"; mes "You want to trade 1 BC for 10000 Zeny?"; next; switch(select("yes","no")){ case 1: if(countitem(8034) < 1) goto nocoin; delitem 8034,1; mes "[Event Manager]"; mes "Thank you for choosing RagnaRebirth that luck be with you in future events, and you can win many Coins, and exchange with more zeny."; set Zeny,Zeny+10000; close; case 2: mes "[Event Manager]"; mes "Ok, back when you want to change something"; close; } case 2: mes "[Event Manager]"; mes "You want to trade 2 BC for 10 Ygg Seed?"; next; switch(select("yes","no")){ case 1: if(countitem(8034) < 2) goto nocoin; delitem 8034,2; mes "[Event Manager]"; mes "Thank you for choosing RagnaRebirth that luck be with you in future events, and you can win many Coins, and exchange with more items."; getitem 608,10; close; case 2: mes "[Event Manager]"; mes "Ok, back when you want to change something"; close; } case 3: mes "[Event Manager]"; mes "You want to trade 2 SC for 10 Ygg Berry?"; next; switch(select("yes","no")){ case 1: if(countitem(8033) < 2) goto nocoin; delitem 8034,2; mes "[Event Manager]"; mes "Thank you for choosing RagnaRebirth that luck be with you in future events, and you can win many Coins, and exchange with more items."; getitem 607,10; close; case 2: mes "[Event Manager]"; mes "Ok, back when you want to change something"; close; } case 4: mes "[Event Manager]"; mes "Ok, back when you want to change something"; close; } } nocoin: mes "[Event Manager]"; mes "You don't have enough Event Coins to obtain this reward"; close; }
  19. OnInit: while( 1 ){ delwaitingroom; if ((gettime(4) != 0) || (gettime(4) != 6)) waitingroom "Weekdays",0; else waitingroom "["+getmapusers("pvp_y_8-3")+"] PvP",0; sleep 3000; } end; }
×
×
  • Create New...