Jump to content

Habilis

Members
  • Content Count

    225
  • Joined

  • Last visited

  • Days Won

    20

Posts posted by Habilis


  1. ...

     

    replace top with

    #include <stdio.h>
    #include <string.h>
    #include <stdlib.h>
    
    #include "common/hercules.h" /* Should always be the first Hercules file included! (if you don't make it first, you won't be able to use interfaces) */
    
    #include "common/HPMi.h"
    #include "common/timer.h"
    #include "map/script.h"
    #include "map/status.h"
    #include "map/pc.h"
    #include "map/clif.h"
    #include "map/pet.h"
    #include "map/script.h"
    #include "map/itemdb.h"
    
    #include "plugins/HPMHooking.h"
    #include "common/HPMDataCheck.h" /* should always be the last Hercules file included! (if you don't make it last, it'll intentionally break compile time) */
    
    
    
    
    

    Im not sure, but I think you can remove 

    #include <stdio.h>
    #include <string.h>
    #include <stdlib.h>
    

    too


  2. try removing this

     

    	/* map-server interfaces */
    	script = GET_SYMBOL("script");
    	clif = GET_SYMBOL("clif");
    	pet = GET_SYMBOL("pet");
    	itemdb = GET_SYMBOL("itemdb");
    	pc = GET_SYMBOL("pc");
    

    from 

    HPExport void plugin_init (void) {
    

  3. Cool!

    Me too,

    I'm looking to it,

    to make a docker file to run Hercules in docker on my Raspberry Pi!

     

    Though, I have very little time and this isn't going to be anytime soon..

    So you will probably have plenty of time to do it.

     

    Feel free to use the the 2017 Hercules install guide in my Signature.

    Even Though, this is a guide on how to setup Hercules on RaspberryPi,

     

    it will work on all Debian/Ubuntu Operating systems, really!

     

    Feel free to ask any questions too!


  4. That's cool if you make cutin move  somewhat like npc moves.

     

    But, don't be abusive with animations.

    It distracts from reading the message.

    For example, it is a quest and you need to read requirements carefully, crazy animation would irritate the player.


  5. So far this is the list of maps
    I have removed

     

    Oh yeah, there are also all castle removed, besides 1, Prontera middle...

    I'm not expecting many players for multi-castle WOE...

    Furthermore, I'm expecting to be the main player on that server.

    (Because, who else would be playing on a server with pretty much nothing but classic, official content with minimum customisation, no donations, only quests)
     
     

    //================= Battlegrounds =========================================
    // - Flavius ----------------------------------------------------
    "npc/battleground/flavius/flavius_enter.txt",
    "npc/battleground/flavius/flavius01.txt",
    "npc/battleground/flavius/flavius02.txt",
    // - Kreiger Von Midgard ----------------------------------------
    "npc/battleground/kvm/kvm_enter.txt",
    "npc/battleground/kvm/kvm_item_pay.txt",
    "npc/battleground/kvm/kvm01.txt",
    "npc/battleground/kvm/kvm02.txt",
    "npc/battleground/kvm/kvm03.txt",
    // - Tierra Gorge -----------------------------------------------
    "npc/battleground/tierra/tierra_enter.txt",
    "npc/battleground/tierra/tierra01.txt",
    "npc/battleground/tierra/tierra02.txt",
    // --------------------------------------------------------------
    "npc/battleground/bg_common.txt",
    //================= Cities ================================================
    "npc/cities/manuk.txt",
    "npc/cities/moscovia.txt",
    "npc/cities/splendide.txt",
    "npc/cities/veins.txt",
    //================= Guides ================================================
    "npc/pre-re/guides/guides_moscovia.txt",
    "npc/pre-re/guides/guides_veins.txt",
    //================= Events ================================================
    // - Events related to WoE SE Guild Dungeons.
    "npc/events/gdevent_aru.txt",
    "npc/events/gdevent_sch.txt",
    "npc/events/god_se_festival.txt",
    //================= Instances =============================================
    "npc/instances/SealedShrine.txt",
    "npc/instances/EndlessTower.txt",
    "npc/instances/OrcsMemory.txt",
    "npc/instances/NydhoggsNest.txt",
    //================= Kafras & Cool Event Corp. =============================
    "npc/kafras/cool_event_corp.txt",
    //================= Merchants =============================================
    "npc/merchants/advanced_refiner.txt",
    "npc/merchants/cashheadgear_dye.txt",
    //================= Others ================================================
    // - Izlude Battle Arena ----------------------------------------
    "npc/other/arena/arena_aco.txt",
    "npc/other/arena/arena_lvl50.txt",
    "npc/other/arena/arena_lvl60.txt",
    "npc/other/arena/arena_lvl70.txt",
    "npc/other/arena/arena_lvl80.txt",
    "npc/other/arena/arena_party.txt",
    "npc/other/arena/arena_point.txt",
    "npc/other/arena/arena_room.txt",
    
    "npc/other/auction.txt",
    
    "npc/quests/newgears/2008_headgears.txt",
    "npc/quests/newgears/2010_headgears.txt",
    
    // - Falicious Okolnir ------------------------------------------
    // God Item Second Edition Quests
    "npc/quests/okolnir.txt",
    
    //================= Warps ================================================
    "npc/warps/cities/manuk.txt",
    "npc/warps/cities/mid_camp.txt",
    "npc/warps/cities/moscovia.txt",
    "npc/warps/cities/nameless.txt",
    "npc/warps/cities/splendide.txt",
    "npc/warps/cities/veins.txt",
    
    "npc/warps/dungeons/abbey.txt",
    "npc/warps/fields/spl_fild.txt",
    
    //================= War of Emperium =======================================
    // - Al De Baran
    "npc/woe-fe/aldeg_cas01.txt",
    "npc/woe-fe/aldeg_cas02.txt",
    "npc/woe-fe/aldeg_cas03.txt",
    "npc/woe-fe/aldeg_cas04.txt",
    "npc/woe-fe/aldeg_cas05.txt",
    // - Geffen
    "npc/woe-fe/gefg_cas01.txt",
    "npc/woe-fe/gefg_cas02.txt",
    "npc/woe-fe/gefg_cas03.txt",
    "npc/woe-fe/gefg_cas04.txt",
    "npc/woe-fe/gefg_cas05.txt",
    // - Payon
    "npc/woe-fe/payg_cas01.txt",
    "npc/woe-fe/payg_cas02.txt",
    "npc/woe-fe/payg_cas03.txt",
    "npc/woe-fe/payg_cas04.txt",
    "npc/woe-fe/payg_cas05.txt",
    // - Prontera
    "npc/woe-fe/prtg_cas01.txt",
    "npc/woe-fe/prtg_cas02.txt",
    "npc/woe-fe/prtg_cas04.txt",
    "npc/woe-fe/prtg_cas05.txt",
    
    //================= War of Emperium Second Edition ========================
    // - WoE SE time settings
    "npc/woe-se/agit_start_se.txt",
    // - Guild NPC Template file
    "npc/woe-se/agit_main_se.txt",
    // - Town Flags
    "npc/woe-se/guild_flags.txt",
    // - Arunafeltz
    "npc/woe-se/arug_cas01.txt",
    "npc/woe-se/arug_cas02.txt",
    "npc/woe-se/arug_cas03.txt",
    "npc/woe-se/arug_cas04.txt",
    "npc/woe-se/arug_cas05.txt",
    // - Schwaltzvalt
    "npc/woe-se/schg_cas01.txt",
    "npc/woe-se/schg_cas02.txt",
    "npc/woe-se/schg_cas03.txt",
    "npc/woe-se/schg_cas04.txt",
    "npc/woe-se/schg_cas05.txt",
    //- Cash Shop Functions -
    // Used by cash shop items in the Item Database.
    "npc/other/CashShop_Functions.txt",
    "npc/pre-re/other/mercenary_rent.txt",
    "npc/other/gympass.txt",
    "npc/other/hugel_bingo.txt",
    "npc/other/mail.txt",
    "npc/other/mercenary_rent.txt",
    //================= Quests ================================================
    "npc/quests/quests_moscovia.txt",
    "npc/quests/quests_nameless.txt",
    "npc/quests/quests_veins.txt",
    "npc/pre-re/quests/quests_nameless.txt",
    "npc/pre-re/quests/quests_veins.txt",
    //================= Dungeons ==============================================
    "npc/pre-re/mobs/dungeons/abbey.txt",
    "npc/pre-re/mobs/dungeons/mosk_dun.txt",
    "npc/pre-re/mobs/fields/manuk.txt",
    "npc/pre-re/mobs/fields/mjolnir.txt",
    "npc/pre-re/mobs/fields/moscovia.txt",
    "npc/pre-re/mobs/fields/splendide.txt",
    "npc/pre-re/mobs/fields/veins.txt",
    

  6. Great necro post. 

     

    Yeah, Whatever

     

     

     Try WDGIncreaseHeadgearViewID for Shin's Diff Patcher.

     

    Well It isn't much of a help to my 20071009 client....

    Sat, 01 Apr 2017 18:24:05 GMT :: 20071009 :: WDGEnable127Hairstyles :: Part 3 :: No matching data found!
    Sat, 01 Apr 2017 18:24:05 GMT :: 20071009 :: WDGEnable64kHairstyles\WDGEnable64kHairstyles.cpp :: Part 1 :: Failed to find matching data!
    

  7. With Maps should be a bit easier though, It is knd of obvious what maps belong to what episode

     

    I will just include them to Removed maps list, I remember seeing that somewhere...

     

    Items though is a bit of work, monsters too.


  8. Ok well there maybe is an easier way. 

    But, since no one wants to help me...

     

    What im doing now

     

    - I got myself BeyondCompare (tool to compaire files)

     

    - I got myself eAthena SQL 9909 (2007-02-25) from here http://svn.games-service.net/

     

    - I will get a latest Hercules from git (adapt configs and NPCs files to be able to run beyond compare)

     

    - I will compare  those files

     

    * npc/scripts.conf

    * npc/scripts_jobs.conf

    * npc/scripts_monsters.conf

    * npc/scripts_warps.conf

    * npc/scripts_woe.conf

    * npc/pre-re/scripts.conf

    * npc/pre-re/scripts_jobs.conf

    * npc/pre-re/scripts_main.conf

    * npc/pre-re/scripts_monsters.conf

    * npc/pre-re/scripts_warps.conf
    (Did I miss a file?)
     
    - I will remove everything that is not in in eAthena 9909
     
    Thoughts?

  9. 1. Extract clientinfo.xml  using GRF editor (this will put clientinfo.xml inside data folder)

    2. Edit clientinfo.xml inside data folder

    3. Open GRF Editor and import clientinfo.xml into your .grf

    4. nada 


  10. I let go of my RaspberryPi 1 as test server for some very light applications

     

    RaspberryPi 1 with its 

    Single core 700Mhz processor 

    500 mb RAM

     

    Struggling a lot at compile.

     

    I tried Installing Node JS on RaspberryPi 1 once

     

    To build SCSS into CSS and move bunch of JS files each operation took about 20 minutes...

     

     

    On RaspberryPi 3 

    Installing NodeJs is faster.


  11.  

    Well, looks like you've mixed it all up...

     

    It doesn't take sudo to run ./configure unless the directories are owned by other user..

    I didn't do a single sudo.

     

    The problem about unknown databse is that if you run these commands

    mysql -u root -p hercuser_rag < main.sql
    mysql -u root -p hercuser_log < logs.sql
    

    You import to hercuser_rag and hercuser_log 

    But in your server config you try to access database ragnarok ...

     

    You need to configure your server properly.

     

    BTW, Wiki is outdated I think

     

     

    Thanks, I thought it was something to do with how I configured the database itself. I found sql-connection.conf and changed things around. I think the permission issues came from screwing around with the default pi user before creating the new user. I'll probably rebuild it all once I have a better grasp of how everything is working together.

     

    Got it running properly now! I'll rebuild it tomorrow, test, and document it all.

    https://habilisbest.com

     

    there is a step by step guide

     

    step 1 configure it the way I do it.

    https://habilisbest.com/raspberrypi-secure-personal-server-step-1-configuring

     

    Soon I will write the article on how to setup Hercules on RaspberryPi.

×
×
  • Create New...

Important Information

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