Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 04/19/20 in all areas

  1. 1 point
    1 - to desactive message "warped" can comment line on messages.conf on folder conf of emulator. //0: Warped. 2 - to desactive message homunculus auto feed, can add this lines on homunc.conf on battle folder of emulator. // Send auto-feed notice even if OFF (Note 1) // Official: yes homunculus_autofeed_always: no
  2. 1 point
    you need zero exe + zero client, I have zero experience with this Not even tried before (because it's out of my interest). But maybe in very near future (maybe after a month) I will try to do that. If not forget. I think it wont be hard to do. Sorry, but I can't help you. readme.txt Inside emulator /doc/ folder read it. Wiki of hercules Ideally script_commands.txt (very long file, but please read it, it will explain everything) I don't know, It should. If not try /showname in game (in chat). I tried - and it worked. But even if it does not work. you can always download or open 05_folder from the RO Offline Pack, and open Nemo Patcher and patch again the exe with patches that you wish to see. Please try latest full kRO client by the link in the first post. What is data.grf? It's archive (like rar, or zip) of files inside /data/ folder. What is .lua or lub? Lua = uncompiled lub file. Lub it's compiled. Lua you can easy open with text editor and read what is written here, lub you can't open and you will see hex codes (byte code). BUT! There is a trick inside game client to load lub files always first over lua files. So if you can't find lua file, try to open lub file with GRF Editor, it has built-in lub to lua decompiler. Also about other files - i do not remember, sorry. Ideally if you will start to use SDE (server database editor) and inside GUI will add all what you want. If not - try to experiment and do not afraid to break files (always do backups first). And try to play with files, edit, copy-paste lines, and you will get what is related for what. Also you can ask community for help. As you see on your screenshot you have denied access to your user inside emulator with name herc_PRE_user which trying to connect to localhost (your PC database), but something wrong. What can be wrong? Maybe the SQL server offlien (try to restart) Maybe you have installed some mysql server (you should not do that, because inside Open Server already built-in mysql server). If nothing helps - you can always re-download pack by links in the first post where everything works out the box. check herc wiki, and try to use google with next query: google.com -> "site:herc.ws how to change drop rate". But I did answer for most common questions inside readme.md already. Try to open the file with any text editor. Alternatively you can install VSCode (editor by Microsoft) and open readme.md with markdown syntax high lite and you will see that everything structured and explained for newbies. I think you don't have installed Microsoft C++ Redistributables. Try to open 08_ folder inside the pack root folder, and install for your OS or x64.exe or x86.exe which contains all C++ Redistributables by Microsoft. Usually the OpenServer require these libs to be installed. Find and edit towninfo.lub or data\luafiles514\lua files\signboardlist.lub Please read readme.md and watch youtube video. Do not skip anything, because this is bare minimul to guarantee that everything will work fine out the box. Otherwise you will have problems like that. Always restart your PC before trying to launch the game server. On your screenshot looks like you have double servers running or port blocked (rarely happens, busy by some app). npc/custom/support_me.txt you can rename it, or delete You don't need to compile the emulator, it's already pre-compiled by me in debug mode. But even if you did it, the error on the screen not related to compilation. The error on the screen related to data.grf and your kRO client. Please download full kro client by links in the first post, and everything will works fine, also do not mix different clients, they are not compatible. For example I support the topic since 2016? Or like that, and there was dozens of different versions with different client versions and date releases also with different client files for full kRO client, but all that you need to know - they almos always not compatible. So, if you wish to run RO offline -> use all files provided in the one folder, do not mix them. (that means you need to download ~4gb) I think this is fixed in 20200419 Optionally you can fix it by importing upgrade files into your database. How to do it -> readme.md ?? Check the first topic links again. green flag -> terminal -> mysql -uroot -> use herc_prere_db; update `char` SET hair=0, hair_style=0, cloth_style=0 WHERE account_id > 1; read readme.md _M + edit login table in your database with phpmyadmin. ??? read readme.md. Wew, try to play with patches again. Also note: already applied patches you can find in the nemo folder in txt file (load profile (this txt file)) and you will see all applied patches to the exe inside the package. Also you can try to play with these patches. What about auras - I do not know, to be honest - do not remember. Usually you don't need to do this if you don't know what is it. Newbie pack - just entry point into the emulator software development, to make everything work, like a playground, and only after learning something new you will do some things. Upgrading emulator by yourself - means also you need after each file change inside /src/ folder to re-compile your emulator. Do you know how to do it? So, if you know how to compile -> you should to know how to use git. Solving merge conflicts - not an easy thing to do, and require some deep understanding what is going on here. Since 20200419 version of the RO offline, you can always do git reset --hard command, and it will destroy all changes that will block your upgarde process. But I do not recommend to do it, because you can potentially lost your some custom script (that you will made or edit by yourself). If you will find more places like that what possible to fix, i will happy to provide update with fixes in the next release. I just need maps where problems occurs. You can use weediffcache tool for working with mapcache. my profile used in nemo inside nemo folder (exe folder). Just try to open different folder, you will find the small file with all applied patches (it's just .txt file). the fix inside 20200419 (link in the top message). But optionally you can fix it by inserting requested sql files inside your game database with phpmyadmin for example. First of all -> not from me, i do not sell any vpses. Second -> it's just a guide where super simple toolkit for explaining how setup everything with images and with almost no efforts. Third -> about what patch are you talk about? Please explain. If you make changes on your server -> you need restart your server for apply these changes. Or alternatively you can use technical admin commands for restarting on the live server scripts, or battle conf files, or db files, or item database, or mob database. Please open script_commands.txt (search `@reload` command) (@reloaditemdb, @reloadscript @reloadmobdb, @reloadbattleconf) and so on. no, without re-compiling impossible to change the behavior of the skill. version of nemo - always latest, even now (v20200419 with latest hash available on gitlab). Patches applied inside nemo you can find inside NEMO folder (exe folder or like that) it's .txt file i forgot how it called. It will be stored near the patched Exe. Please try to use SourceTree app it's GUI for git. It will be much easier. This is question not for me. I saw several pull request with some not bad content, like lasagna, but progress still very slow. The very good pros of herc.ws is the emulator technically far far ahead of rathena in technical aspect, but some really required by some people content are absent, and implementation of the content (technical part) already here, only left script, mob, warp part... Try to use SourceTree app. Or GitKraken. Update v20200419 upgraded emulator to latest version and recompiled upgraded kRO client and re-uploaded (to latest version) upgraded different repos in misc tools fixed sql issues and warnings in emulator tl;dr all package upgraded, all files touched and re-uploaded. added discord channel for helping newbies there in real time (only for respectful and non toxic ones). added optional mirrors for RO offline pack misc fixes everywhere. TODO: Inside discord i suggest to write: 1. what is most missing content inside the package (maybe you looking for especially something, but you can't find it inside the package) 2. Where is your most common mistakes / problems that you face with the RO Offline Pack? 3. Bugreports / suggestions appreciated. Note: usually I do not answer on herc.ws board frequently, I visit the forum rare, and answer rare. Usually I do upgraes for the package once per few months. The package is stand-alone and you can upgrade it always by yourself.
  3. 1 point
    Patskie

    Infinity loop (error)

    Your calling getinventorylist multiple times (while && for) and i'm not sure why Here try //===== Hercules Script ====================================== //= Healer //===== By: ================================================== //= Euphy //===== Current Version: ===================================== //= 1.2 //===== Description: ========================================= //= Basic healer script. //===== Additional Comments: ================================= //= 1.0 Initial script. //= 1.1 Aligned coordinates with @go. //= 1.2 Fix variables and character stuck at healing //============================================================ function script H_VIPBuff { query_sql( "SELECT CAST( `vip` AS DATE ),DATEDIFF( IFNULL(`vip`,NOW()),NOW() ), TIMESTAMPDIFF(SECOND, NOW(), `vip`) FROM `login` WHERE `account_id` = "+getcharid(3)+" LIMIT 1", .@vip_date$, .@day, .@vip_second); return .@day > 0 || .@vip_second > 0 ? true : false; } - script Healer FAKE_NPC,{ .@price = 0; // Zeny required for heal .@Buffs = 1; // Also buff players? (1: yes / 0: no) .@Delay = 2; // Heal delay, in seconds if (@HD > gettimetick(2)) end; if (.@price) { message strcharinfo(PC_NAME),"Healing costs "+.@price+" Zeny."; if (Zeny < .@price) end; if(select("^0055FFHeal^000000", "^777777Cancel^000000") == 2) close; Zeny -= .@price; } specialeffect(EF_HEAL2, AREA, playerattached()); percentheal 100,100; if (callfunc ("H_VIPBuff")) { sc_end SC_STONE; sc_end SC_FREEZE; sc_end SC_STUN; sc_end SC_SLEEP; sc_end SC_POISON; sc_end SC_CURSE; sc_end SC_SILENCE; sc_end SC_CONFUSION; sc_end SC_BLIND; sc_end SC_BLOODING; sc_end SC_DPOISON; sc_end SC_FEAR; sc_end SC_COLD; sc_end SC_BURNING; sc_end SC_DEEP_SLEEP; sc_end SC_DEC_AGI; sc_end SC_BROKENARMOR; sc_end SC_BROKENWEAPON; sc_end SC_NOEQUIPWEAPON; sc_end SC_NOEQUIPSHIELD; sc_end SC_NOEQUIPARMOR; sc_end SC_NOEQUIPHELM; sc_end SC__STRIPACCESSARY; sc_end SC_PROPERTYUNDEAD; sc_end SC_ORCISH; sc_end SC_BERSERK; sc_end SC_SKE; sc_end SC_SWOO; sc_end SC_SKA; sc_end SC_SLOWDOWN; sc_end SC_FROSTMISTY; sc_end SC_ILLUSION; sc_end SC_BITESCAR; //sc_start SC_CASH_PLUSEXP,.exp_bonus_duration,.bonus_vip_exp_rate; //sc_start SC_CASH_RECEIVEITEM,.bonus_duration,.bonus_vip_drop_rate; specialeffect(EF_INCAGILITY, AREA, playerattached()); sc_start SC_INC_AGI,240000,10; specialeffect(EF_BLESSING, AREA, playerattached()); sc_start SC_BLESSING,240000,10; specialeffect(EF_KYRIE, AREA, playerattached()); sc_start SC_KYRIE, 120000, 3; specialeffect( EF_IMPOSITIO, AREA, playerattached()); sc_start SC_IMPOSITIO, 60000, 3; specialeffect(EF_GLORIA, AREA, playerattached()); sc_start SC_GLORIA, 30000, 3; if( getbrokenid(1) ) repairall; getinventorylist; for (.@i = 0; .@i < @inventorylist_count; .@i++) if ( @inventorylist_identify[.@i] == 1 ) continue; else if ( getskilllv(MC_IDENTIFY) == 1 && Sp >= 10 ) heal 0,0; // lol... this is supposed to reduce their SP by 10, whatever else if ( countitem(Spectacles) ) delitem Spectacles,1; else if ( getskilllv(RG_COMPULSION) && Zeny >= ( 100 - ( 5 + 4 * getskilllv(RG_COMPULSION) ) )* 2/5 ) Zeny -= ( 100 - ( 5 + 4 * getskilllv(RG_COMPULSION) ) )* 2/5; else if ( getskilllv(MC_DISCOUNT) && Zeny >= ( 100 - ( 5 + 2 * getskilllv(MC_DISCOUNT) ) )* 2/5 ) Zeny -= ( 100 - ( 5 + 2 * getskilllv(MC_DISCOUNT) ) )* 2/5; else if ( Zeny >= 40 ) Zeny -= 40; else break; delitem2 @inventorylist_id[.@i], 1, 0, @inventorylist_refine[.@i], @inventorylist_attribute[.@i], @inventorylist_card1[.@i], @inventorylist_card2[.@i], @inventorylist_card3[.@i], @inventorylist_card4[.@i]; getitem2 @inventorylist_id[.@i], 1, 1, @inventorylist_refine[.@i], 0, @inventorylist_card1[.@i], @inventorylist_card2[.@i], @inventorylist_card3[.@i], @inventorylist_card4[.@i]; .@icount++; } if ( .@icount ) message strcharinfo(0), "Identified "+ .@icount +" Items."; } else { if (.@Buffs) { specialeffect(EF_INCAGILITY, AREA, playerattached()); sc_start SC_INC_AGI,240000,5; specialeffect(EF_BLESSING, AREA, playerattached()); sc_start SC_BLESSING,240000,5; } if (.@Delay) @HD = gettimetick(2)+.@Delay; end; } }
×
×
  • Create New...

Important Information

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