Jump to content

Habilis

Members
  • Content Count

    225
  • Joined

  • Last visited

  • Days Won

    20

Everything posted by Habilis

  1. 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.
  2. It depends what you got in the // Read map data from GATs and RSWs in GRF files or a data directory // as referenced by grf-files.txt rather than from the mapcache? use_grf: false of your Hercules/conf/map/map-server.conf
  3. Looks like you want to use Old izlude map with Pre-re NPCs then you need to update your server's map-cache.dat in the db/pre-re/map-cache.dat http://herc.ws/board/topic/2800-how-to-add-custom-map/
  4. 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.
  5. 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
  6. Thank you but it is still not what I'm looking for... What I look for is to save me the time and pain of going through every single config to make a server match an episode... UPDATE: Found this resource http://rode.doddlercon.com/db/guide/ep111.html It has update guides for episode 11.1 Not the 11.3 I wanted, but it is close enough!! If There will be no one kind enough to share server configs with me. I will be doing one myself...
  7. At first, I suggest you to set a Break; at the end of every case element in your code. Second, element flag dyecouponacceptance_fail Misses ":" Third, I suggest you moving both flags (dyecoupon_fail and dyecouponacceptance_fail) outside Switch statement UPDATE: I will be making a stylist changing styles as part of a quest (I don't know when though...) Scenario example: player talks to little boy NPC named hooligan who is about to vandalize a city wall with dyes. Player can try to stop that and Hooligan: I will give you (quest item multi color dye) if you bring me poring card Then, Stylist will use multi color dye to change colors.. If you are still struggling by that time, PM me i will share my script...
  8. Thank you for the reply but that just confirming something I am sure at 99% .... And not advancing me any further on the subject. My topic is more of a call for information Related guides, posts, articles would be appreciated UPDATE : Well While there is no information on how to do it... What I'm doing to help myself is Crawling http://herc.ws/board/forum/51-low-rates/ for long gone projects and grabbing their clients google cache and Wayback machine my best friends so hopefully after 2-3hours of work I will forge myself a nice client using their content... Maybe some admins of long gone projects would be so kind to share their server config with me? I really Like theese http://herc.ws/board/topic/5703-simplyro-333-coming-soon/ http://herc.ws/board/topic/11713-ragnarok-online-philippines-classic-server/ http://herc.ws/board/topic/13524-play-ragnarok-2004-private-server/ sad they are gone (well not sure about the last one rate my server status says it is gone...) If someone would be so kind to share their server files, I would highly appreciate.
  9. Hello Is there a way for someone who isn't a total Ragnarok Online Nerd (Myself) To control the episode Server wise and Client wise - Npcs - Monsters - Items - Maps - Commands I suppose all of this should be done manually... Is there a guide or a check-list to aid me in that process? For example, according to this episode Timeline: http://herc.ws/board/topic/3554-ragnarok-episode-timeline/ I want to FREEZE it at : 2007.04.10: Episode 11.3 : Nameless Island Right now I'm using 2013 client and latest Hercules. Seems like a lot of work... Would appreciate all available information! Really....
  10. No, no problems at all! All went nice and smooth. Did you took note of the problems you ran into? Share please! Maybe, I could check to see if I have solutions and mark them as possible mistakes in my guide? Thanks.
  11. Tested with latest version of Hercules Everything works..
  12. Aside from being 6 months old and there could be updates changing the commands mechanism... the only difference I can tell is this constant ALL_CLIENT as in clif->specialeffect(&sd->bl,413,0); would be clif->specialeffect(&sd->bl,413,ALL_CLIENT); And plugin init is not needed anymore? /* Server Startup */ HPExport void plugin_init (void) { addAtcommand("dance",dance); } Anyways my code is cleaner than whatever you posted there. UPD: Soon will be installing fresh latest hercules and test All of them one by one.
  13. Ragnarok online needs more users.... But I really don't understand why Herc isn't that popular?
  14. Soon will be writing a Step by step guide on how to setup a server on your RaspberryPi 3 For my RaspberryPi Related blog, will publish a version of it here. though, I don't think it is meaningful, as there are already nice guides on how to setup Hercules on linux...
  15. I'm not an idiot, then the command make clean absolutely nothing to do with. After commands make distclean, make clean here is powerless -) and now that you know, after the change of something, or add a plug-in, do not necessarily use the command make clean if you do not know the answer to this question, it is better not say anything! @Offtop : Гугл транслейт х*ево переводит.. Них*я не понятно что ты там пишешь, только общий смысл улавливаю... @OnTopic: You don't have the troubled plugin : make[1]: *** Нет правила для сборки цели `../../plugins/db2sql.so', требуемой для `db2sql'. Stop. in the makefile.in MYPLUGINS = plugins So i supposed you forgot to run command make clean before rebuilding....
  16. looks like you forgot to run command make clean ...
  17. Ai4rei, told me its not possible to know whether someone is really voting or farming on this system with a web bot... Since, vote sites do not cooperate and do not provide any means to verrify vote However, I want to mingle with it and see for myself if it is as impossible as claimed... Im new to this comunity, but people may know what I am and what I'm doing by searching what I have posted so far on this forum.
  18. And you probably already got why the plugin is done that way... getting a timestamp for every single ramble in common chat would load the the server. Hence, all the spamming / flooding happens in common chat.
  19. Under appreciated because Gurus think this captcha is vulnnerable, since the only methods I've used are - Items to click is a plain image generated by gd - GreyScale filter is applied to that image Anyhow, picture to the right is generated by code and I have full control over it. Should there be written a bot able to compare images and bypass this captcha, I can add some random semitransparent text over generated image, some random pixels etc... I really wanted this captcha to be fun to do, rather than - some text to enter ( boring, annoying) - logical problrm to solve ( might be a problem if the language problem is written on, is not the persons first language...)
  20. Hello, It's me again, I've been doing some stuff lately and decided to share this thing A bot captcha Written in PHP It uses a set of 16 pictures I've used PHP's GD library to generate the picture of items to click (grey set of 3 images to the right) So, the challenge, really, is to click three images matching ones in the model. Obviously, images appearing in the model and the order of images to chose from are random. Obviously, chosen images disappear. Once test passed or failed you will be shown the result....
  21. I've been running for well more than 4 days all the setup seems stable but memory seems to be USED... Setup : - nginX webserver with SSL running -PHP blog written on laravel -RO server web api -OwnCloud installation - Hercules server Well there is about 630 MB out of 887 MB used that is Cache and Buffers, which could be cleared if more memory is needed.... leaving it to the used of 257 MB of 973 MB I've also added 500 MB of SWAP.... .
  22. Human baby as a pet, thats awesome!! feels like im back in Russia.
  23. Day 3: More on Free Hosting Limitations Apperantrly, the free webhosting doesn't allow cron or cronjobs to run as often as */5 (every 5 minutes) Not a problem for me... server is offline server is online First of all I wrote api-like controllers at my Ragnarok server machine's webserver class api extends Controller { public function getServerStatus($statusPass) { $output=""; if($statusPass == "test1234") { $Status = $this->ServerStatus(); $output = $Status[0].";".$Status[1].";".$Status[2]; } return $output; } private static function ServerStatus() { $Srv_Host = "127.0.0.1"; // Login, Char, Map Server Port $Srv_Login = 6900; $Srv_Char = 6121; $Srv_Map = 5121; $Str_Online='1'; $Str_Offline='0'; // Disable Error Reporting (for this function) error_reporting(0); $Status = array(); $LoginServer = fsockopen($Srv_Host, $Srv_Login, $errno, $errstr, 1); $CharServer = fsockopen($Srv_Host, $Srv_Char, $errno, $errstr, 1); $MapServer = fsockopen($Srv_Host, $Srv_Map, $errno, $errstr, 1); if(!$LoginServer){ $Status[0]= $Str_Offline; } else { $Status[0] = $Str_Online; }; if(!$CharServer){ $Status[1] = $Str_Offline; } else { $Status[1] = $Str_Online; }; if(!$MapServer){ $Status[2] = $Str_Offline; } else { $Status[2] = $Str_Online; }; return $Status; } } simple enough queries ports on 127.0.0.1 and retruns 1;1;1 as plain text if all 3 servers are up... On the Free webhosting site i wrote a CURL call <?php function writeStatus() { // Disable Error Reporting (for this function) error_reporting(0); $statusHtmlFile="status/status.html"; $statusUpdateTime=5 * 60; // 5 minutes status update $apiToken = "test1234"; // token is plain text for now if((time()-filemtime($statusHtmlFile))>$statusUpdateTime) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,"https://<serverIP or host>/api/serverstatus/".$apiToken); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 0); curl_setopt($ch, CURLOPT_TIMEOUT, 3); // 3 seconds timeout, no answer = server considered offline curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); $result=curl_exec ($ch); curl_close ($ch); $Str_Online='<img src="web_img/online.png" />'; $Str_Offline='<img src="web_img/offline.png" />'; $Status = explode(";", $result); $result="<b>Login</b> ".checkStatus($Status[0])." <b>Char</b> ".checkStatus($Status[1])." <b>Map</b> ".checkStatus($Status[2]); $file = fopen($statusHtmlFile,"w"); fwrite($file,$result); fclose($file); } } function checkStatus($onoff) { $Str_Online='<img src="web_img/online.png" />'; $Str_Offline='<img src="web_img/offline.png" />'; return $onoff == 1 ? $Str_Online : $Str_Offline; } ?> It checks last update time of status.html file, if it is more than 5 minutes it does a curl call to my Ragnarok machines webserver writes status to the status.html file status.html is ajax loaded on the main page...
  24. If stop command used, only then the file with the log is released. everything is logged... Need to see about the memory now since that's a pretty big log file...
×
×
  • Create New...

Important Information

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