![](http://board.herc.ws/uploads/set_resources_4/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
Dastgir
-
Content Count
3803 -
Joined
-
Last visited
-
Days Won
249
Posts posted by Dastgir
-
-
Have you added packets for that client at end of packets.h
-
If death is 0, maybe make it read as 1, and then on first death, death will not increase, it will remain at 1.I always want to ask this ...how do you calculate kill/death ratio ?because if the player has 3 kills, and 0 death3/0 = infinityit will return NULL value in SQL tableI always insert the death as 1 even if the death is actually 0 when made the 1st killor insert death as 2 if the 1st deathto prevent the calculation of infinite value3/1 = 3but then it will show the improper value of the person's death ..
So we can do like
OnPCDieEvent:If(die==0) die=1;
Then apply formula. It doesnt need to apply default death value as 1,i think conditions are enough,
About sql, we can make column conditions like
Int(5) NOT NULL default '0'
-
Was there any other message displaying file name? And what data folder you are using?
https://github.com/ROClientSide/Translation/blob/master/Data/luafiles514/lua%20files/effecttool/effectfunc.lub was updated by me, a month ago, contains that function, maybe if you are using this, error will vanish(dont only download this, since there is one more file for morroc named morroc.lub, you ahould have that too, so just get that whole folder),else maybe if you using this and still have error, then this file must have been updated recently.(but less chance, since you using client older than the lub file, so downloading those files, should vanish your errors.)
So get the latest luafolder, and try to run.
-
wasnt bank limit increased to 2147483647 after 1 week of bank release...its a limitation of 32 bit signed integer actually. 2147483647 is the actual limit.
but i guess client also limits it to nearest round off value? (by round off i mean in terms of zeny not decimal round off).
But i wonder why they used different limit of 2100000000 for bank though.
-
based on some searches, openkore dont support it(and other programs too cant bypass it, checked ones whose names I know), but who knows, if a group of botter have it?
I thought Hercules features were blocking WPE "activities" but couldn't do anything against bots; tho I'd be the happiest man in the world if I am wrongThis is a very amazing tool but AFAIK, the packet obfuscation does stop bots if set to 2. please correct me if i am wrong.
Confirmation (or not) is indeed very welcome
In my server, I customize a lot of packets(shuffle the order, and add an extra 4byte info in middle, split the info in 2 different position) so that bot programs dont recognize the order(note: this system by me was made years ago, so no comments like, bot was already stop, etc.)(although its still bypassable if they know orders)
-
haha. Is my english soo bad?
Whoa... for a minute there I thought you meant I missed a month D:One more outstanding month passed.
..........
Waiting for next outstanding month....
-
One more outstanding month passed.
..........
Waiting for next outstanding month....
-
Mob and item are directly parsed from respective db. The aegis names are the mob/item constants.
Npc constants are parsed from db/const.txt
-
The limit is possesed by clientside I guess, so we have to be on that limit too.
max id one can have is 32767
-
If you are using 20120410 or greater client, then file location should be data/luafiles514/lua files/skillinfoz/
Be sure to repack it into GRF.
Also make sure your client reads lua files first(as I see, all files in ur dir is .lua) or if it reads .lub first, compile .lua to .lub, or just rename it.
Edit: Seems like topic already solved , and my reply coming late due to hell slow internet for me,
-
Revert your client.conf changes, then try.
Data folder:https://code.google.com/p/just-likethis-ro/source/browse/FullData_200804.3x11.7z
-
if want 10%if i want 10% i will change
the if (rnd()0 >= ii) into if (rnd() >= ii) ??
Change ii=i;
To
ii = 10;
Dont change that rand() line.
-
can u upload it on mediafire?
the data folder
My mobile is not allowing me to upload at mf.
-
Show end of command prompt, where the percentage ends. I myself tested it, this script is split into 5-6process, in which each is allotted a progress of 12-20%, so the progress would slow down, and write the temp file, which you are showing, but after 100%, it will write itemdb.txt and delete this temp file.
so the one you are showing is a temp file generally made by script on progress.
and outputfilename will be the name of itemdb in txt format.
-
New version released : http://herc.ws/board/files/file/108-npc-script-editor/
Possible to have a list of npc/mob/item constants with ID?
-
You can skip this step,Should I still do these steps even though I diffed read lua before lub:
You must compile to lub if you leave space between IDs, if you don't plan on compiling to lub, make sure you do not skip any numbers.
Delete the accname.lub and accessoryid.lub. Now that you are done, make sure luac.exe is in your datainfo folder, right click the luac.exe, create a shortcut, right click the shortcut, and click properties, in the target area, add right after the quotes, with the quotes:
-o "accessoryid.lub" "accessoryid.lua"
So that it looks something like this:
"C:Program Files (x86)GravityROdatalua filesdatainfoluac5.0.2.exe" -o "accessoryid.lub" "accessoryid.lua"
Do this also to "accname.lub" except instead of accessoryid in the quotes, do accname. If there is any lua file leftover, you may want to move it somewhere else just for future changes, like My Documents. For future reference, this is also how you turn the other lub files to lua files.
however, this has some false info, you can leave any number of IDs, its not necessary to not to skip id, you dont need to delete .lub files, since it will be overwritten.instead of doing those stuff from shortcut properties, you can do that via command prompt and luac.
-
If I recall, those items use bonuses, not variable. Variable would help changing element without any items.
-
Your item aegis name should also be Gem_Box.
I dont remember if new group requires source, but I think those db edits are enough.
-
well, no offense, be cool, but instead of asking like anyone interested, just share the guide.Yes, is easy, but i mean, worldviewmap_table in specific. Do you undestand it?, all the lines?, the {1,"prontera.rws",564,456,657,562,msi_prontera,"110"}, (is only an example)
In fact, all lua file in data folder and ro folder is easy to decipher, and some people (like me) take time to announce and possibly make a guide for others who can't make it and/or don't understand the lua files. Think about it: not everyone can understand the lua files, that's why there are so many request for help in the forums, right?
-
yes, and other steps as given in wiki,So my accname.lua and accessoryid.lua should be placed in data/LuaFiles514/lua files/datainfo?
p.s: lua files are case-sensitive.
-
There was no need to change client.conf
Found 2008 data, will upload in few minutes.
edit: havent tested, it was on my mem card https://docs.google.com/file/d/0B9Bu32G0pWC1N2VQNVRNMHByR0k/edit?usp=docslist_api
-
20120410 uses idnum tables and luafiles514/lua files/ folder, no system folder for that client.
Lub is compiled while lua is decompiled file.
If you had diffed with load lub before lua, your client will read lub files, else it will read lua files
The wiki link is having proper guide and locations, you should read it once again maybe.
-
100 is 100%?
If you set ii to 100, then it will be 100% success.
-
just change the extension.
rename it from lua to lub
Kinda misleading description, he wants to change idnum to iteminfo,
Can anyone make this into ItemInfo.lub and lua please? The ItemConverter won't convert it.
OMG! it seems like ItemConverter tool no longer support our item_db format
Guess what, I have made A tool to convert itemdb.conf to itemdb.txt format... TWO MONTHS AGO.(but not published anywhere yet, due to my busy time)
Which is flexible, that means can swap the field and much more.
So just use this tool https://github.com/dastgirpojee/LuaScripts/tree/master/Lua/conf2db
Read readme.md for usage and Its flexibility.
So use this to convert conftodb and use itemconverter, till hercules itemdb compatible itemconverter is released.
Attempt to call a nil value
in Client-Side Support
Posted
if its not included in server grf, then it would be read from data.grf, but for this, data.grf should be updated, which most of players dont have.