how can i stop an item like an "EGG"or "D Cards" from droping from monsters or lower just that items drop rate? is this possible?
how can i stop an item like an "EGG"or "D Cards" from droping from monsters or lower just that items drop rate? is this possible?
I would like to know this too ;D
they are in propDropEvent.inc
Last edited by dedwcdustin; 25-10-10 at 03:04 AM. Reason: forgot the file type
Yeah i know right how did we miss this. :P
Then search for the name in propitem.txt.txt, take the ID of it, search in propitem.txt then take the items name, go to the propDropEvent then search for the name, remove the line.
so is there a way to add items?
also a way to change what giants drop, im sure its n there i just didnt usderstand that part?
What dose -1 mean for ea item? not the lvl but after the 30000 it says -1.![]()
Add item to server: http://forum.ragezone.com/f457/addin...on-fed-696320/
in "propMoverEx.inc" you change the drops.
Yu Help me to much, getting to many thanks lol:moony:
---------- Post added at 12:39 PM ---------- Previous post was at 12:26 PM ----------
ive looked for program that opens thies inc files but they all do it like txt is there anything other than office that i can use to get colums and to get rid of thies hexed words "¼ýÀÚ È®·ü 1°³°¡ ¶³¾îÁú¶§ ¸ó½ºÅͼö""?
Don't use Office for .inc files. Use Notepad, Visual Studio or Notepad++. .txt files are meant to MS Office Excel/OpenOffice Calc and .txt.txt are meant for Notepad or Excel/Calc. Lua can be done with Notepad++ or Visual Studio (or any programming IDE program you wish to use, same with .inc files).
I've been slowing clearing up the "gibberish" in all the files into English. Slow process, but it's coming out well.
Last edited by dedwcdustin; 26-10-10 at 02:08 AM. Reason: forgot a word or two
Not 100% on this but i think this is the structure:
DropItem(<Item>, <Chance>, <Upgrade Level>, <Item Number>, <Lvl Min>, <Lvl Max>);
Item Number if its -1 gets set to 1 in the code. Then its sets it using the following code(dwNum) is the Item Number) So i haven't looked hard enough yet to figure out what this does exactly.Code:(short)( xRandom( dwNum ) + 1 );
Note: This is the source code for loading the file into the game.
Edit: Had a chance to look through the source quickly and have updated itCode:s.GetToken(); // ( di.dwIndex = s.GetNumber(); // specific item index s.GetToken(); // , di.dwProbability = s.GetNumber(); // probability s.GetToken(); // , di.dwLevel = s.GetNumber(); // level s.GetToken(); // , di.dwNumber = s.GetNumber(); // number s.GetToken(); // , dwMinLevel = s.GetNumber(); // min s.GetToken(); // , dwMaxLevel = s.GetNumber(); // max s.GetToken(); // )
Edit2: Looks like Item Number is the number of that type of item but it is a random number between the number you specify and 1.
Last edited by nabby59; 26-10-10 at 05:18 AM.