Jump to content

Leeg

Members
  • Posts

    120
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by Leeg

  1. On 8/11/2021 at 7:54 AM, AlvaroNiel said:

     

    Hi Leeg, how are you? Excuse my English but I speak Spanish but hopefully I can make myself understood. I have tested the version of this script from 1.2.2 to 1.2.4 but I always stay here, it indicates who starts but nothing happens. The console does not throw me any error or alert but it does not let me touch the porings. Note: I don't know the version of my emulator.

    Hi AlvaroNiel,

    If you don't know the version of your emulator and there are no errors or warning I'm afraid I can't provide much help.

    Please use an updated rAthena emulator.

    Regards.

     

  2. 2 hours ago, scathachshishou said:

    Hi Leeg , can you add another line for this script? In my server the players doesn't use this anymore because they can always have a draw , unless they intentionally want to lose. 

    I'm afraid that would turn the game into a different thing (connect four?). Furthermore, modifying the game like that would imply remaking the map and other additional work.

  3. 21 hours ago, zecabaleiro said:

    support eAmod @Leeg?

    This script doesn't require any custom source modification. However, this script doesn't use "set" to assign variables because rAthena doesn't need that since 2012. If rAmod doesn't support assigning variables without "set", you would have to modify all the variables being assigned in the script.

    It's mentioned in the first post of this page.

    (https://rathena.org/board/topic/110377-quests-games-tic-tac-toe-minigame-script-and-map/?do=findComment&comment=332625)

  4. Okay. This is the third time I get a PM telling me to "fix" my script. Therefore I'm going to give you some sound advice:

    UPDATE YOUR EMULATOR

    Some people are sending me private messages with their consoles filled with bugs. Do you know why is it happening?

    Because you haven't updated your emulator since 2012.

    Don't believe me? Look at this:
    https://github.com/rathena/rathena/commit/c3193f3106bb52a0aae956a771ed6a209f0a2a36

    This is the commit where rAthena started to allow assigning variables without the use of 'set'. It was a great addition because most programming languages don't need a command to assign variables. Therefore, it's normal that we, scripters, make use of this functionality. This script, and all the scripts I make, don't use the 'set' command because we are in 2017.

     

    HOWEVER...

    If you are a naughty person who doesn't want to update his emulator. You can "fix" my script easily by following these simple steps:

    Every time you see an equal sign (=) you have to replace it with the set command and a comma.

    For example:

    variable = 100;

    Should be:

    set variable, 100;

     

    And with += or -=;

    variable +=100;

    Should be:

    set variable, variable + 100;

     

    And that's all folks.

    Sorry for the rant. ;)

     

    • Upvote 1
    • MVP 1
  5. 1 hour ago, rakuzas said:

    Is the BGM included as your demo? xD

    And also.. Did this script included time remaining to make a move? Since this map limit 2 player per game right? So, in case 1 player suddenly AFK too long, I guess we can give auto win to which player move more or draw to both of player.. This will make the script more efficient i think.. Just some suggestion BTW..

    BTW this script is in my watch list.. I will buy it later if got donation.. /no1 
     

     

    Yes, all you mentioned is already included (the BGM is from the official folder: 128.mp3). Also, there are antiragequitting measures. If one player stays AFK or logsout the other will win automatically.

  6. In older clients, you could login through command line using this:

    -t: 123456 Leeg server -1rag1

    However, in clients from 2017, this is not working because apparently the encoding has changed and you get this result:

    [Notice]: Unknown account (account: ▓XÛ╚│┴®öïçRú▀;¬┼P$T·úy, ip: 127.0.0.1)

    Does anyone know anything about this enconding change?

    Thanks.

  7. 24 minutes ago, mirabell said:

    hi, it doesn't seem to work if you have more than one server in the server select.? it just goes straigh to asking which server to select and then still ask for username and password

    Yes, it's definitely not compatible with multiple servers. I'm sorry.

  8. I forgot to add an aditional check in one specific part of the script that prevents multiple players from accepting the same challenge. It's fixed in the new version. Please, download it as soon as it's approved. (Admins are going to kill me for updating the file three times in three days)

     

    What's New in Version 1.2.2

     

    Introducing the new betting system!
    With the new command "@tictactoe" you can bet money and challenge other players from any map! (not pvp, woe, etc.)
    No source modification needed!
    Anti-ragequit measures. If one player logs out, the other will win the bet.
    Added minimap.
    Board map optimized and updated script coordinates.
    Fixed scripting typos.
    Fixed bug where multiple players could accept the same challenge.

     

    Next update: Additional effects:
    Additional visual effects will be added to make the game even more fun and enjoyable.

     

    • Upvote 1
×
×
  • Create New...