Jump to content

Jguy

Retired Staff
  • Content Count

    292
  • Joined

  • Last visited

  • Days Won

    18

Posts posted by Jguy


  1. For future reference, renaming a binary on linux:

     

     

    mv old_filename new_filename

     

    Example:

     

     

    mv login-server_sql login-server_sql2

     

    If you plan on changing the name of the login, char and map server binaries, you have to make sure the start script finds the correct ones. Open that file in your favourite text editor and do a quick find and replace.


  2. yeah i just read post #1, and i reacted like this :o

     

    Git doesn't use Revision Number (SHA)

    about tracking features added or whatever you call those episodes of ragnarok online

    i remember there is a talk like that before in the making of hercules(i guess 3 months before hercules started).

    Its about splitting those stuff in a repository. No idea what happen to that plan and for me it really sucks splitting it..

    back to the topic, documentation of the implemented and will be implemented stuffs in hercules.

    not totally a bad idea,  you can just add a README file inside /npc/

     

    or or ( sorry about how i write this stupid post, i haven't sleep yet :D )

    bring back Changelog inside Hercules root

    ofc, Changelog doesn't mean commits you've done ( thats stupid git timeline does that )

    it contantains stuffs you implemented like

     

    [Month-Year][Core] Introducing Channel System[Core] Added Plugin System[Core] Packet Overhaul[Feat] Added Episode 11: Star Wars[Feat] Rewrite the Whole Episode 19: Twilight

     

    and yes its monthly, why? ist better ofc

    no one will look everyday in Changelog

    Since Repository News still exist you know :>

     

    This.


  3. Aegis is the emulator which is used by Official RO Servers(kRO,iRO,etc..),i.e Official Emulator made by GRAVITY. There are frequent leaks of aegis(Official Server).

     

    FYI - Aegis is NOT an emulator. It is the OFFICIAL software. AFAIK there hasn't been a public leak of Aegis fully available to the public in a few years. You also need Windows and a Microsoft SQL server to run it. While rAthena/Herc run on 256MB of RAM or less being idle, Aegis usually consumes 2-3x that being idle.


  4. You know, I have a strange feeling that if we hadn't pointed out the concept of 'backups' I doubt they would have ever fallen back to any backups they had. Curious as well that the "news about rAthena" document claims restoring backups from May 22. How can you restore backups from a time in which your RAID was damaged and the server was not even responsive to ping? We have ourselves some genetically engineered hackers over here.


  5.  

    Looks like the rAID is destroyed. Lesson of the day: Have backups. All of the rAthena data is gone (because if I remember correctly, all their backups lived on the same box (maybe different VM)). 

     

    Another lesson: Don't leave people who don't know how to run a server of any kind in charge of it.

    But what about Maki said having another backup in his server or something? Do you think it was on the same HDDs? Because if I'm not mistaken he said even with the data on the HDDs gone they would still have a backup.

    All the files, support solutions, reports that got lost, oh dear "deer".

     

    The countless times I logged in and noticed that all the backups were being done on the local machine and NOT to an offserver backup storage despite me begging for something....I doubt there is another recent backup anywhere that is recoverable. And having the backups on a seperate VM on the same physical machine doesn't count (as is probably the situation here).

     

    If they do have a recent backup and haven't cut their losses and applied it, then that's a pretty dumb move as well. Most people would not settle for downtime more than a few days, especially on a non-business site such as this. Most people in this situation would provision a new server, install the backups and announce that a week or two's work has been lost. Them not doing that just screams "no backups available for weeks". If there was financial data involved then the result might be different, but for no financial or client data, just a server with forums on it, having a week or two of lost data is no big deal. Of course, for shame, they moved the SVN off of Sourceforge and onto that server, despite mine as well as Ind's disagreement that something like this (a failed server) would kill the project.


  6. Python?
    [cbox]
    #!/usr/bin/python
    names = ["Jezu","dastgirpojee","JayPee","nanakiwurtz","hemagx","malufett","pr3p","nndsl","Zopokx","Vali","Virtue","M45T3R","Michieru","Judas","Beret","Yommy","Ind","Nameless2you"]
    print "Hello "
    for name in names:
     while name != "Nameless2you":
    print name, " & "
     else:
    print name, ", "
    print "I'm Jman (again)"[/cbox]


  7. [cbox]<?php
    $names = array("Jezu","dastgirpojee","JayPee","nanakiwurtz","hemagx","malufett","pr3p","nndsl","Zopokx","Vali","Virtue","M45T3R","Michieru","Judas","Beret","Yommy");
    echo "Hi ";
    foreach($names as $value) {
    if ($value != "Yommy") {
    echo $value." & ";
    }
    elseif ($value == "Yommy") {
    echo $value.", ";
    }
    }
    echo "I'm Jman.";
    ?>[/cbox]


  8.  

    After a bit of research in the source, you can modify the field it reads inside of Hercules's /src/login/account_sql.c at line 525:

    "SELECT `account_id`,`userid`,`user_pass`,`sex`,`email`,`group_id`,`state`,`unban_time`,`expiration_time`,`logincount`,`lastlogin`,`last_ip`,`birthdate` FROM `%s` WHERE `account_id` = %d" 

     

    just change `group_id` to `level`.

     

    It should be around the same place in eAthena (and other) source if you want to change the other emulator query instead.

     

     

    if your planning to use Hercules SQL files i think you'll just add the level column in the login in order for your eAthena Based Server to run.

     

    This actually seems like a better solution than other posted ones. Add the columb to your login database that reads level in addition to the group_id.

     

    @Jman:

    So you're saying that if I add group_id as a column, let's say, after level, in my eAthena's login database, Hercules and eAthena would be able to read from it without conflicting? From what it looks like on my end, I think it'd work; I just wanna confirm this before I make changes to a live server's database.

     

     

    There can be extra columns in a database without conflicting with each other. The Hercules/rAthena source code is looking for a group_id field. If there is none, it will error. If there is a 'level' field in addition Hercules simply won't read it (it won't even know its there nor will it care).


  9. if your planning to use Hercules SQL files i think you'll just add the level column in the login in order for your eAthena Based Server to run.

     

    This actually seems like a better solution than other posted ones. Add the columb to your login database that reads level in addition to the group_id.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.