Jump to content

shadowscreen

Members
  • Posts

    75
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by shadowscreen

  1. On 1/11/2020 at 1:16 PM, biali said:

    hiya!

    @shadowscreen did u manage to do that? make skills execute a script? I've been looking for that too... I tried to do that myself but I am not that good with C. 😕

    thank you in advance!

     

    @biali Sadly I didn't look much further into it. I had a brief exchange with Stolao  before I went on a huge hiatus and dropped the Project and the result was that it's not as simple as I thought and that it has to be implemented in the source code.

     

    Best regards, Shadowscreen

  2. Hey Grischi,

    bin jetzt auch seit einiger Zeit mal wieder ein bisschen unterwegs.

    Deutsche Server sind mittlerweile maximal von 10 Leuten besucht weil es keine wirklich überzeugenden Server mehr gibt,

    letztes Jahr gab es die Ausnahme wo einer glaub ca. 100 Spieler hatte (deutscher Highrate) also ist es definitiv noch möglich gute Zahlen zu erreichen.

    Falls du eventuell sogar eine helfende Hand brauchst oder ein paar Ideen, schreib mich einfach mal an.

     

    Ansonsten -> am 06.01 gehts mit Rise of Midgard los :)

  3. Falls du noch Fragen zum Server auf Linux basis hast kannst du mich gerne auch mal anschreiben.

    Bin zwar seit ner weile ebenfalls inaktiv, kann dir aber dennoch eventuell etwas helfen :)

     

     

    Vorteile des Linux Servers sind definitiv höhere Performance und (wenn man sich etwas auskennt) bessere Administrierbarkeit(? gibts dieses Wort xD).

  4. You can also create a new branch with  "git branch <branchname>" where you apply your changes and everytime you "git pull" the master branch simply merge the changes into you

    server branch.

     

    The good thing is that you can setup a test branch before you apply the changes to your server.

    • Upvote 1
  5. Hello there,

     

    first of all, I'm not quite sure whether this question belongs to scripting or source support, so please be kind with me :).

     

    I would like to know if it's possible to let a custom skill execute a script.

    The other way (implementing everything in the skill.c / h) would be pretty exhausting since it needs a kind of deep knowledge

    of the rAthena source.

     

    The point is that I like to write a custom refining system which puts more focus on the forging classes like alchemist and blacksmith.

     

    To sum it up -> in my opinion, the easiest way to realize that is a skill that triggers a script everytime it's used.

    Is that possible?

     

     

    Thanks in advance and best regards,

    Shadowscreen

  6. I just wanted to provide a little script I made earlier.

     

    Yet it is an NPC which gives you the possibility to enchant your headgears with different bonuses (currently Statpoints, Element resist, Element damage).

     

    The amount of possible upgrades can be inserted as item ID's at the very top of the script.

     

    -I will probably post my sample sql here later.-

     

     

    If there are any questions left, I'm glad to answer them, since this is my first script release.

    Feedback (positive or negative) is welcome too :)

     

    Sincerly, shadowscreen

     

     

    *Edit*

     

    I will probably create another NPC with a Quest for the enchantment stones,

    for now they have to be obtained via @item

    item_db2.sql

    customEnchanter.txt

    • Upvote 1
  7. Der erste Schritt sollte ersteinmal darin bestehen sich ausgiebig im Wiki einzulesen und bei offenen Fragen erst einmal die Suchfunktion zu benutzen.

    Wenn man alles gesagt / gemacht bekommt lernt man schließlich auch nichts daraus.

     

    Ansonsten wäre Mays Vorgehensweise ersteinmal zu befolgen.

    Wer einen Server nicht sachgemäß verwalten kann, macht sich anfällig für unbefugte Zugriffe und somit unter Umständen strafbar.

     

    Denn für alles was von deinem Server aus geht machst DU dich strafbar,  egal ob es durch hack, phishing, injecting oder oder oder dazu gekommen ist.

     

    Also rAthena Wiki und google sollten deine ersten Anlaufpunkte sein, für weitere Fragen steht dir jeder denke ich gerne zur Verfügung.

     

    ^^/)

  8. Jup.

    Aber bitte beachtet (falls der Server öffentlich wird):

    Viele Spieler vertrauen euch ihre Daten an. Daher solltet ihr euch wirklich Gedanken über Datenschutz / Rootsicherheit machen ^^

     

    Naja ~

     

    Fake mails, Passwörter die man nur bei RO benutzt...mehr daten sind nicht wirklich vorhanden

    Die daten hat doch aber sowieso schon jeder der sie will~

  9. thanks for

     

     

    afaik

    make clean sql
    

    is enough to recompile

     

    purpose of ./configure:

     

    If any of the major requirements are missing on your system, the configure script would exit and you cannot proceed with the installation, until you get those required things. 

    The main job of the configure script is to create a "Makefile" . This is a very important file for the installation process. Depending on the results of the tests (checks) that the configure script performed it would write down the various steps that need to be taken (while compiling the software) in the file named Makefile.

     

     

    isn't it enough if the makefiles were made once after setting up the server?

    There shouldn't be any differences after slight mods in the source files or am I wrong?

     

    It always worked for me.

  10. well its just an example,   the current one is already working in my script

    setarray [email protected][1],30000,30050,30100;  // item IDs of lvl 1/2/3/....  enchantmentStones
    setarray [email protected][1],30001,30051,30101
    // ^ the same with int / agi / vit / luk
    
    _statpoints:
        mes "["+strnpcinfo(1)+"]";
        mes "And wich statpoint should I apply?";
        set [email protected],select("Str:Dex:Int:Vit:Agi:Luk");
        switch ([email protected]) {
            case 1:
                set [email protected], callfunc("GetBonusLevel", [email protected], [email protected], [email protected], [email protected]);
            break;
            case 1:
                set [email protected], callfunc("GetBonusLevel", [email protected], [email protected], [email protected], [email protected]);
            break;
    

    currently, there is a switch with 6 cases for each attribute     ^ like this

     

    And i want to remove the switch somehow. Because in my opinion its nasty code :<

     

    The result should look some kind of this   (you can see my  following example as pseudocode) and i would like to know how i can realize that

    setarray [email protected][1],30000,30050,30100;  // item IDs of lvl 1/2/3/....  enchantmentStones
    setarray [email protected][1],30001,30051,30101
    // ^ the same with int / agi / vit / luk
    
    _statpoints:
        mes "["+strnpcinfo(1)+"]";
        mes "And wich statpoint should I apply?";
        set [email protected],select([email protected],[email protected]);   <-----  if i select str,  [email protected] should be the array [email protected]
        
        set [email protected], callfunc("GetBonusLevel", [email protected], [email protected], [email protected], [email protected]);
    

     I hope its kinda understandable now ^^'

  11. pc_status_def_rate: 75                     -> 150 vit for stun immune,  150int for silence immune etc.

     

     

     

    pc_max_status_def: 90                 -> you cant get over 90% stun immune with vit     (with cards you still can get 100%)

×
×
  • Create New...

Important Information

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