Jump to content

Leeg

Members
  • Posts

    120
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Leeg

  1. Have you downloaded the new version? The minimap is now included.
  2. Done and the missing semicolons were also corrected, please download the new update as soon as it's approved. The whole map has been modified to adjust the minimap, so you will have to update the map files in your mapcache and grf. I thought about this but... given that none of the default Ragnarök minigames is instanced, and Tic Tac Toe matches being 1 minute or less long, I thought that setting an instanced system would be both painful for me to code and for you to implement later in your server. I don't really think there will be such a high demand for playing Tic Tac Toe in any server and waiting a minute or so is not that much.
  3. Oups, I didn't know people did such things... Maybe another option could be ensuring that the original version of the file is always uploaded and can't be replaced. Thanks for taking it into consideration
  4. Can I suggest removing the need of requiring approval of a new version of an already approved file?
  5. What's New in Version 1.1 ★ Script fully revised and optimised. More than 60 lines of code dropped. ★ Player names are now included in the start and winning announcements. ★ Lobby chatrooms now display a "Please wait" message when a game is already running. ▶ ▶ ▷ Next update: Betting system: Players will be able to bet Zeny for each match. Anti-ragequit measures will be applied: Zeny will be removed from players when the game starts. If one of them logs out, the other player will get all the zeny.
  6. So... it shouldn't be working with 'set' in the first place... ;D I guess I'll modify my code.
  7. I can do this: if (!getarg(1)) set getarg(1), $@warpwaitingpc[0]; But I can't do this: if (!getarg(1)) getarg(1) = $@warpwaitingpc[0]; parse_line: expected ';' Intended behaviour? I thought 'set' was no longer needed in any context.
  8. Seems like a really cool idea. So, basically both players can decide an item or an amount of money and the winner gets all. I'll definitely try this. However, before doing that, I'll be working on a few minor updates and improvements that will be available soon
  9. View File Tic Tac Toe Minigame Script and Map ✖ O ✖ Tic·Tac·Toe miniGAME O ✖ O Features: · 2 player based minigame · Fully automated · Free map included! (tictactoe.rsw) · Detects tied game · 1st turn selection is randomised · Very easy to install: Just copy the map files to your GRF and the script files to your custom NPC folder. · Lots of fun for your players! ✪ Buy once and have access to future updates! ✪ [ ! ] If you have any questions or you need to contact me for support, you can reach me at @Leeg or you can post a comment here and I will receive a notification. By buying this script, you agree to these terms: - You are not allowed to redistribute this script in any way, shape, or form. - Chargeback scams are not tolerated and will get you punished on rAthena. - I (Leeg) still retain all rights to this script. - Terms above may be changed or adjusted without prior notification. Submitter Leeg Submitted 04/06/2017 Category Games, Events, Quests Video https://www.youtube.com/watch?v=os4cPLkUL08 Content Author Leeg
  10. Version 1.2.4

    103 downloads

    ✖ O ✖ Tic·Tac·Toe miniGAME O ✖ O Features: · 2 player based minigame · Fully automated · Free map included! (tictactoe.rsw) · Detects tied game · 1st turn selection is randomised · Very easy to install: Just copy the map files to your GRF and the script files to your custom NPC folder. · Lots of fun for your players! ✪ Buy once and have access to future updates! ✪ [ ! ] If you have any questions or you need to contact me for support, you can reach me at @Leeg or you can post a comment here and I will receive a notification. You can also send me an email at: By buying this script, you agree to these terms: - You are not allowed to redistribute this script in any way, shape, or form. - Chargeback scams are not tolerated and will get you punished on rAthena. - I (Leeg) still retain all rights to this script. - Terms above may be changed or adjusted without prior notification.
    15.99 USD
  11. If it can't be considered a bug, then I think the problem is solved.
  12. Found out the bug! The input works with this npc declaration: - script wisp -1,{ The input doesn't work with this npc declaration: prontera,143,185,1 script wisp -1,{ Is that normal?
  13. The while loop value is changed properly when needed. If that was the issue, the script would be bugged way before the input. What do you mean by validate the data properly? And how would that have any effect on the input box showing up? If more context is needed, this is the whole thing: OnWhisperGlobal: if(getgmlevel() > 50){ .@loop1 = 1; while(.@loop1){ mes "Choose an option"; next; switch(select("Option1:Option2:Option3")) { case 1: mes "Write a number between 0 and 6."; while(1){ input .@TdayofWeek; //Script stops working right here. Input doesn't show up. if ((.@TdayofWeek >= 0) && (.@TdayofWeek <= 6)) break; } setarray $dayofWeek[getarraysize($dayofWeek)], .@TdayofWeek; break; case 2: //Nothing yet break; case 3: .@loop1 = 0; break; } } close; }
  14. I've written these few lines and I've found out that "input" is not working. But I can't understand why. The script just stops right before the input should be showing up and nothing happens. No errors. No warnings. Nothing. Where is the problem? Thank you very much. .@loop1 = 1; while(.@loop1){ mes "Choose an option"; next; switch(select("One:Two:Three")) { case 1: mes "Write a number between 0 and 6."; while(1){ input .@TdayofWeek; if ((.@TdayofWeek >= 0) && (.@TdayofWeek <= 6)) break; }
  15. The color isn't that bad... (trust me, it was even better in the first version I made of this, haha). Thanks for the advice
  16. This is an entry on a series of maps we're doing for a server. These maps will be used as headquarters by the guilds playing in our server. The following one is the number 10. Each headquarter has its own theme. I'll just let you guess which theme has this one. This is the entrance to the headquarters: This would be the main hall: This is the training room: This would be the meeting room: Back to the main hall, up the stairs to the bedroom: Back in the main hall, now downstairs to the "themed" room of the headquarters: Private booth where love... happens : This is a secret area in the headquarters only accesible to the guild leader: Here is a final screen of the main hall in BrowEdit: And that's it!
  17. The jobs are probably hardcoded in the client. However, in the msgstringtable you can find the names of the four roles.
  18. Thanks for your answer. If there is no other choice, maybe we should have a function such as: map_mapclientid2mapname() And probably the same with jobs... This would increase compatibility between server-side and client.
  19. Hello. I'm trying to modify the source to enable a little announcement to the whole server each time a new party is added to the party booking system. However, I've found an issue I don't know how to solve. First, this is my modification, in party.c, at the end of void party_booking_register() char message[128]; sprintf(message,"%s is looking for %hu at level %hu-%hu to go to %s.", pb_ad->charname, job[0], level,level+10,map_mapid2mapname(mapid)); intif_broadcast(message,strlen(message)+1,0); There is a problem with this: The party booking system uses its own ID numeration to define jobs and maps. These ID values are read from the lua files, they are not server-side. So, if I try to convert these IDs to text (job name or map name) in the source code, the resulting value doesn't exist or it doesn't correspond to the map or job in the booking system. Can anyone help me with an idea to solve this? I know I could just create two arrays in the source that contain the job names and map names in the same order as in the party booking system... but I'd prefer to avoid doing that if there is a better solution. Thank you very much
  20. I have the same problem. I'm using Windows 10 and VS 2015. Why are we missing a 2015 .SLN solution?
  21. The proyect is a bit discontinued because almost nobody showed interest in it... but if you want I can give you a compiled version with your language.
×
×
  • Create New...