Jump to content

classy5

Members
  • Content Count

    119
  • Joined

  • Last visited

Posts posted by classy5


  1.  

     

     

     

     

     

     

    hello i made a gm with a groupd id 98 (phpadmin), i edited the file name trunk/conf/groups.conf and change id into 98. but when i log in to client i get an warning says "pc_authok aid:2000001 logged in with unknown groupd id (98)!"

     

    it only allow me to access until character selection.... then disconnect when selected

    Did you reload the map server after the change?
    Not sure.... but I recompiled it
    all you need to do is for example:

     

     

    {

    id: 98

    name: "test"

    level: 98

    inherit: ( "Head GM" )

    commands: {

     

    }

    log_commands: true

    permissions: {

    use_check: true

    use_changemaptype: true

    all_commands: true

    show_bossmobs: true

    }

    }

     

    and then @reloadatcommand

     

    After that try to login with the group:98

    Imma try this when I come home... thanks... I appreciate for helping me out. /now :)


  2.  

     

     

    hello i made a gm with a groupd id 98 (phpadmin), i edited the file name trunk/conf/groups.conf and change id into 98. but when i log in to client i get an warning says "pc_authok aid:2000001 logged in with unknown groupd id (98)!"

     

    it only allow me to access until character selection.... then disconnect when selected

    Did you reload the map server after the change?
    Not sure.... but I recompiled it

  3. hello i made a gm with a groupd id 98 (phpadmin), i edited the file name trunk/conf/groups.conf and change id into 98. but when i log in to client i get an warning says "pc_authok aid:2000001 logged in with unknown groupd id (98)!

     

    it only allow me to access until character selection.... then disconnect when selected


  4. 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 

    idk why i couldnt find the "Import" button.... but ill try deleting everything.... do u have any suggestion just incase it ddnt work?


  5. Just do not edit text files inside .grf packages...

     

    Just don't

     

    Extract -> Edit -> Import

     

    ...

    do you want me to Extract - edit - import? can u tell me where do i start to do that? (im kinda noob)

    What patches did you apply on your patcher. Im referring to NEMO patcher.

    im not really sure... cuz i got its from ponyvps readymade... kinda taking longer to get a reply from them


  6. i edited the clientinfo.xml using Grf Editor..... to add a gm sprite to normal account but after i pressed ctrl + s

     

    i tried to open the client (myRo.exe) but it only open like half a second and then its gone... please help solved the problem.


  7. yes its me again  :sob:

     

     I have everything on server side green and ready but i dont seems to open the ragexe when i pressed it, nothing comes out.

     

    my patch is 2015-10-29.... can anyone help me? i downloaded full KRO and that client... anyone please 


  8.  

     

    i guess you followed the old guide and did 2 databases, a separate for the logs. Iirc the new config doesn't allow that (please correct me if i'm wrong) so just import the logs.sql to your main database

    yes i think i did follow the old guide http://herc.ws/board/topic/968-guide-how-to-setup-hercules/

     

    how do i "import" the logs.sql  to my main database? (im kinda super nooby) :sry:

    people are nice in here  :)

    Go to your database (phpmyadmin)

    Click your database name

    Find the Import on the menu tab

    Click Import

    Choose logs.sql then click go

    THANK YOU!!! THANK YEWW THANK you! :sob: :sob:  :sob:  :sob:  


  9. you should allowed user to access root@localhost.   just do the % :D

     

     

    GRANT ALL PRIVILEGES ON *.* TO 'root'@'hostname' IDENTIFIED BY 'root' WITH GRANT OPTION;

    took me an hour to find how to grant "privileges" xD but its worthed xD! thank you!

     

    unfortunately theres a new prob :unsure:

    foxy.png


  10.    :sob:  :sob: PLEASE GUIDE ME STEP BY STEP HOW TO FIX THIS PROBLEM.... I REALLY WANT TO PLAY BY MYSELF  :D in none sexual way.... please im newbieeeeeeeeeeeeeeeeeeeee :sob: :sob: 

    foxy.png

     

    PLEASE HELP ME


  11. @classy5 : you dont need to modifi inter -server.conf anymore in the lastest herc server.

     

    btw , my hex-client don't show anything but it still running in task manager , any fix ?

    i used the guide to sql_connections.conf that supposed to be for inter-server.conf (still testing) :unsure:


  12. There is an existing server installation guide made by Diconfrost VaNz on this topic but this is outdated. So let me give ample time to share my experience on how to install Hercules SVN on your local machine.

     

    1. To obtain hercules, refer to Ind's topic

    2. Go to conf/char-server.conf and look for the code below : 

    // Server Communication username and password.userid: s1passwd: p1

     

    Set s1 and p1 to anything you want but take note of them as you will use them later on when you move to SQL portion of this installation.

     

    In my case, i will use patskie since it is my screen name.

    // Server Communication username and password.userid: patskiepasswd: patskie

     

    3. Set your server name? Find this line also on your conf/char-server.conf. Change it to whatever you want : 

    // Server name, use alternative character such as ASCII 160 for spaces.// NOTE: Do not use spaces or any of these characters which are not allowed in //       Windows filenames /:*?"<>|//       ... or else guild emblems won't work client-side!server_name: Hercules

     

    4. Remove // on the following code : 

    //login_ip: 127.0.0.1

     

    //char_ip: 127.0.0.1

    Note : 127.0.0.1 means localhost, local machine.

     

    5. Save and exit

    6. Now go to conf/map-server.conf

    7. Same to what you have did in conf/char-server.conf :

    //--------------------------------------------------------------//                     Configuration Info//--------------------------------------------------------------// Interserver communication passwords, set in account.txt (or equiv.)userid: patskiepasswd: patskie

     

    8. Remove // on the following code :

    //char_ip: 127.0.0.1

     

    //map_ip: 127.0.0.1

     

    9. Once you're done. Save and exit.

    10. Now go to conf/inter-server.conf

    11. Set the following code :

    // Global SQL settings// overriden by local settings when the hostname is defined there// (currently only the login-server reads/obeys these settings)sql.db_hostname: 127.0.0.1sql.db_port: 3306sql.db_username: rootsql.db_password: ragnaroksql.db_database: herculessql.codepage:// MySQL Character SQL serverchar_server_ip: 127.0.0.1char_server_port: 3306char_server_id: rootchar_server_pw: ragnarokchar_server_db: hercules// MySQL Map SQL Servermap_server_ip: 127.0.0.1map_server_port: 3306map_server_id: rootmap_server_pw: ragnarokmap_server_db: hercules// MySQL Log SQL Databaselog_db_ip: 127.0.0.1log_db_port: 3306log_db_id: rootlog_db_pw: ragnaroklog_db_db: loglog_codepage:log_login_db: loginlog

    Note : Use 127.0.0.1 as ip because you will run these server on your local machine. Use root as the database id because by default MySQL workbench uses root as username. And finally ragnarok as database password which is configurable by users. Set map, char an sql database to hercules and set log database to loginlog 

     

    12. Once done, Save and exit

    13. Now go to src/common/mmo.h and find the following code :

    #ifndef PACKETVER	#define PACKETVER 20120418#endif

    Change to : 

    #ifndef PACKETVER	#define PACKETVER 20100730#endif

    Note : You can change 20120418 (2012-04-18) to whatever client-date you want. In my case i will use 2010-07-30 client (20100730).

     

    14. Save and exit.

    15. Now let's go to mysql part.

    16. Download MySQL workbench here. Why workbench? More convenient to use.

    17. Once you are finished downloading and installing. Download WAMP server here because workbench will not start functioning if you do not have WAMP server

    18. Once you are finished downloading and installing wampserver. Run it

    19. Open mysql workbench

    20. Add user and password into it. Follow this guide. Make sure you set username as root and password as ragnarok because this is the credentials located on your conf/inter-server.conf

    21. Create a server instance and connection. Just click New Connection for creating connection and click New Server Instance for creating a new server instance everything there are self explanatory

    22. More likely you must have the following : ( Check image below )

    attachicon.gifUntitled.png

    23. At the left portion of the application. You can see schemas. Right click on one of them (test schema) and click on create schema

    24. Set the name of the schema to hercules because that is the credential we put in our inter-server

    25. Create also a schema log 

    26. Double click hercules schema

    27. Under file located at the bottom of the home button ( upper left to be exact ) click Open SQL Script and locate sql script on sql-files/main.sql, open it and execute ( you can find execute button at the upper portion of the text editor of mysql workbench it looks like a thunder xD )

    28. Double click log schema

    29. Under file located at the bottom of the home button ( upper left to be exact ) click Open SQL Script and locate sql script on sql-files/logs.sql, open it and execute ( you can find execute button at the upper portion of the text editor of mysql workbench it looks like a thunder xD )

    30. Once everything is set double click again hercules schema

    31. Execute the following code 

    SELECT * FROM login;

    32. Change userid, user_pass to the credentials you have put on both char-server and map-server.conf

    33. Click apply.

    34. Once done, go back to your server files and compile everything using Microsoft Visual Studio 2009 or 2010 or 2012 

     

    Note : 

    Microsoft Visual Studio 2009 = Hercules-9

    Microsoft Visual Studio 2010 = Hercules-10

    Microsoft Visual Studio 2012 = Hercules-12

     

    35. Open it via C++

    36. In my case i am using MVS 2010, Highlight char-server, login-server, map-server, mapcache at the left portion of the application. Right click on it and click Build Selection

    37. Check image for successful compilation, Once done exit the application

    attachicon.gifUntitled.png

    38. Now you're done! Run run-server.bat on main folder

     

     

    I hope this guide help other people who find it difficult to install hercules svn on your local machine. Actually this guide is not hard. I just divided the guide into small chunks so that people will understand more. If you think that any portion of installation is not included in my guide or maybe in some way not good or not correct then feel free to post it.

     

    Additional Notes : 

    - If you want other people to connect then you must port forward your router, or you can use other application like hamachi

    - If any error occur feel free to post it here. Make sure you will post it in a detailed manner. Post screenshot if possible

    - I include a diff client for 2010-07-30 since i use it in this guide

    attachicon.gif2010-07-30-DIFF.rar

     

    can you please update the guide if you can? i followed the steps but some files either missing or in different folder...

    The file was already modified days ago.

     

    conf/common/inter-server.conf

    conf/global/sql_connections.conf

     

    can you tell why i cant find the step on his guide about the inter-server.conf? how do i follow his step? it says do the same thing as char & map server.conf  :sob:

×
×
  • Create New...

Important Information

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