Dastgir
Script Developers-
Content Count
3805 -
Joined
-
Last visited
-
Days Won
250
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by Dastgir
-
What if he didn't claim the next day? prize vanish?
-
Do you have updated weapontable.lua and itemInfo.lua? If not , get it from https://github.com/ROClientSide/Translation/tree/master/
-
my test input original item_db.conf The output item_db.txt , Some Chinese letters were changed after converting, and AegisName was changed to lowercase letter Here is part of my item_db.conf item_db.7z Thanks for sharing your item_db.conf. Fixed All Errors as stated by you on @r9, Get a new copy of conf2db.lua and try it.
-
Request Guide to hex and changing packet key for anti WPE
Dastgir replied to ZerotoHero's question in Client-Side Support
Why not use NEMO Patcher to change Encryption keys http://herc.ws/board/topic/2905-nemo-client-patcher/ -
You don't need to do any source edits for that Flux Addon... Just use this : https://github.com/S-anasol/sanasol/tree/master/merchant_db_hercules_flux (Since sanasol updated it recently to support Hercules Vending System with it).
-
query_sql("SELECT `userid` FROM `login` WHERE `account_id` = " + getcharid(3),.@username$); This returns UserName of the Account Why use a query to get Character name, you can get character name by "strcharinfo(0)"
-
I dont think value of any parameter is changed.. only parameter is case insensitive, while value remains the same, Can you send me full or a part of your itemdb.conf, so I can actually test with chinese charset(as you said, it converts to weird chars)
-
Maybe update your gdb version(I occured this with old gdb) or recompile server(make clean, then make all)
-
Case insensitive means #UPPER or #upper or #UpPeR means the same.. its not an parameter.. and it seems that #U and pper in 2nd case got seperated by space or newline, I would anyways check for that error, and make it to give warning and show if wrong format is used.
-
About worldmap, I guess its been translated here : https://github.com/ROClientSide/Translation/tree/master/Data Hercules doesnt support any of 2014 clients yet, so you have to find and put its packets and packetkeys to src/map/packets.h, and that client should be able to work.. about nemo patch failed, maybe client is not unpacked.. or as said by error, it cannot find empty space in client(you would have to wait until NEMO is updated to support 2014 clients..)
-
Make sure your client is diffed with Read msgstringtable.txt,Also make sure that your msgstringtable.txt appear first. and for texture translation: https://github.com/ROClientSide/Translation/tree/master/Data , get it from here.
-
Its not possible as evilpuncker said, and secondly,Even if it was possible, it would be too much bandwidth intensive, (think, sending 10 lines of description to client from server, for every item viewing...)
-
Maybe recompile mapcache.... (Or maybe mapcache.dat is corrupted, or grf is encrypted...)
-
If your ssl certificate is generated by(/hosted on) openssl (>v1.0.1) , then update your openssl to the versions which fixed the bug. Also as a security, change user password(but i guess, your server is new, and hackers wouldnt have searched for gaming site for exploit...)
-
have you really changed all hp to Hp , (case-sensitive, h should be capital (H) and p should be small (p).) I don't see any error on script except that.. You can check script at http://haru.ws/scriptchecker/ for any error/warnings.
-
function script F_GetPlural { set .@str$, getarg(0); if (countstr(.@str$," ")) { // multiple words explode(.@tmp$,.@str$," "); set .@size, getarraysize(.@tmp$); // if format is "... of|in|on ...", pluralize preceding word; else pluralize last word if (compare(.@str$," of ") || compare(.@str$," in ") || compare(.@str$," on ")) { for (set .@i,1; .@i<.@size; set .@i,.@i+1) { if (getstrlen(.@tmp$[.@i]) == 2 && compare("of|in|on",.@tmp$[.@i])) break; set .@index, .@index + 1; } } else set .@index, .@size - 1; set .@str$, .@tmp$[.@index]; set .@tmp$[.@index],"%s"; set .@format$, implode(.@tmp$," "); } else set .@format$, "%s"; set .@strlen, getstrlen(.@str$); if (.@strlen < 3) // prevent errors return ((getarg(1,0)) ? strtoupper(sprintf(.@format$,.@str$)) : sprintf(.@format$,.@str$)); setarray .@suffix$[0], charat(.@str$,.@strlen - 1), substr(.@str$,.@strlen - 2,.@strlen - 1); if (!compare("abcdefghijklmnopqrstuvwxyz",.@suffix$[0])) { // last character is not a letter set .@result$, .@str$; } // common exceptions --> singular form == plural form else if (compare("fish|glasses|sunglasses|clothes|boots|shoes|greaves|sandals|wings|ears",.@str$)) { set .@result$, .@str$; } // ends in -s, -x, -z, -ch, -sh --> add -es else if (.@suffix$[0] == "s" || .@suffix$[0] == "x" || .@suffix$[0] == "z" || .@suffix$[1] == "ch" || .@suffix$[1] == "sh") { set .@result$, .@str$ + "es"; } // ends in -f, -fe --> remove -f, -fe --> add -ves else if ((.@suffix$[0] == "f" || .@suffix$[1] == "fe") && .@suffix$[1] != "ff") { if (compare("belief|cliff|chief|dwarf|grief|gulf|proof|roof",.@str$)) set .@result$, .@str$ + "s"; // exceptions --> add -s else set .@result$, substr(.@str$,0,.@strlen - 2 - (.@suffix$[1] == "fe")) + "ves"; } // ends in consonant + -y --> remove -y --> add -ies else if (.@suffix$[0] == "y" && !compare("aeiou",charat(.@suffix$[1],0))) { set .@result$, delchar(.@str$,.@strlen - 1) + "ies"; } // ends in -o --> exceptions --> add -es else if (.@suffix$[0] == "o" && compare("buffalo|domino|echo|grotto|halo|hero|mango|mosquito|potato|tomato|tornado|torpedo|veto|volcano",.@str$)) { set .@result$, .@str$ + "es"; } // default --> add -s else { set .@result$, .@str$ + "s"; } return ((getarg(1,0)) ? strtoupper(sprintf(.@format$,.@result$)) : sprintf(.@format$,.@result$));}function script F_InsertPlural { return sprintf(getarg(3,"%d %s"), getarg(0), ((getarg(0) == 1) ? getarg(1) : callfunc("F_GetPlural",getarg(1),getarg(2,0))));}function script F_InsertComma { set .@str$, getarg(0); for (set .@i,getstrlen(.@str$)-3; .@i>0; set .@i,.@i-3) set .@str$, insertchar(.@str$,",",.@i); return .@str$;} Add these functions(so there will be no unknown function error...).. Courtesy of rA... for Second Error, change hp to Hp, and it will be fixed.
-
The PacketEncryption System is available in 20120424, but the Keys Chosen from kRO are bad(So WPE will work because of those bad keys), so just change the keys which are working, or just change the client. thanks for explanation. May i know how cna i change the keys which are wrkking? How do i know? thanks http://www.robrowser.com/prototype/packet-keys/ (Choose previous client keys which are marked as PASSED, or try to create your own key, and check if it PASS.) Use NEMO Patcher and diff it with custom Packet Keys, and enter the Packet Keys There. Or by IDA(http://herc.ws/board/topic/1105-hercules-wpe-free-june-14th-patch/#entry8001) Also in SErver Side: Change src/map/packets.h to support your custom keys.
- 13 replies
-
The PacketEncryption System is available in 20120424, but the Keys Chosen from kRO are bad(So WPE will work because of those bad keys), so just change the keys which are working, or just change the client.
- 13 replies
-
Maybe it warps you in the warp portal.....
-
Heres a guide : http://herc.ws/wiki/Building_HPM_Plugin_for_MSVC ( for windows) http://herc.ws/wiki/Building_HPM_Plugin_for_gcc (for linux)
-
http://stackoverflow.com/questions/10888391/error-link-fatal-error-lnk1123-failure-during-conversion-to-coff-file-inval This seems to answer your question Either disable incremental linking, by going toProject Properties -> Configuration Properties -> Linker (General) -> Enable Incremental Linking -> "No (/INCREMENTAL:NO)" or install VS2010 SP1.
-
Coke Sprite and Black-S is really nice. you releasing them? Shark looks a little awkward,
-
Hello, I see many users having some problem with new item_Db format, stating that it cannot be used with the Old Tools available, and there's no tool to parse the new item_db.conf So I made this script, which converts item_db.conf to item_db.txt , (and you can change the syntax of item_db.txt too) Script: https://github.com/dastgirpojee/LuaScripts/tree/master/Lua/conf2db ReadMe.MD shows how to use it.. Usage: 1)Copy item_db.conf to "conf2db" Folder.2)Just run the "conf2db.bat" and Enter some details of file.Format(If Asked):Usage: conf2db.lua {FileName} {Output} {Format(RE,or see below)}.Format: #id #script #View, [Case-insensitive]Default: #ID,#AegisName,#Name,#Type,#Buy,#Sell,#Weight,#Atk:#Matk,#Def,#Range,#Slots,#Job,#Upper,#Gender,#Loc,#wLV,#eLV,#Refine,#View,{ #Script },{ #OnEquipScript },{ #OnUnequipScript } [Case-insensitive]Additional Parameter: #eqmax #eqmin(max and minimum equip level) [Case-insensitive] P.S: I made the script just for the users who wanted to use old Tools.. and hercules cannot read .txt item_db..
-
[SQL]: DB error - Field 'uniqueitem_counter' doesn't have a default value
Dastgir replied to appealarms's question in Database Support
But it does not have any Default value, so executing this to MySQL would also show some problem(if it contains data already) and if any newly imported data is there, (there won't be any problem i guess, since uniqueitem is enabled bydefault now)