frago12
Members-
Content Count
9 -
Joined
-
Last visited
Everything posted by frago12
-
Change the parameters of the item - Solved ✔
frago12 replied to Angelpko's topic in Questions & Help
Do this: Edit the iteminfo.txt file Make a backup of the old iteminfo.txt file Move the edited iteminfo.txt file into the resource folder Delete old iteminfo.bin Run game server -> this compiles the iteminfo.txt into iteminfo.bin Move both .txt and .bin to client/scripts/table use a compiler to compile the files from the client done -
Anyone else getting an error when compiling where in the stdafx.h file, the files from include are missing from the directory?
-
Help with what?
-
A more elaborate description would help. Do you want to create a patcher that downloads a patch or only a .zip file that contains certain updates that you have done?
-
This might be an error somewhere in the GM system code. As the error message says, a value is nil, when it should be something else. Pretty hard to tell without seeing the whole code.
-
Hello! Does anyone know the reason why my skillinfo names look like this? 0384 #RESOURCE_SKILLINFO_TXT_000316# 1 -1,10 1,-1 1,-1 1,-1 -1 0 1 1 -1 -1 1 2 2 0 1 1 0 0 0 0 0 0 0 0 0 Skill_ChuanZhiQianXing1_Begin Skill_ChuanZhiQianXing1_End 0 0 0 0 0 0 0 0 0 0 0 0 0 0 10000 0 1 11 -1 46 -1 121 0 0 0,0 0,0 0 -1 -1 0 0 0 -1 0 -1 0 0 0 0 0 2675 #RESOURCE_SKILLINFO_TXT_000313# 0 0 Each line looks like this: #RESOURCE_SKILLINFO_TXT_000316# and I don't know the names. I am making a skill learner npc but I need the names of the skills from skill info.
-
That is written within the else statement, only in my question I posted it like this. It is inside of the else statement So basically the remove condition looks like: else if <my code> end if .... Other statements end end
-
Here is how I tried: I did this costume1 in the place of DUMB effect, because the limit is 240 and it wont let me go further. 155 costume1 -1 0 State_costume1_Add State_costume1_Rem 3 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 -1 0 0 0 123 2 0 0 0 0 0 0 0 where --> 123 is the effect ID after that I edited the BBRing effect to: function State_costume1_Add ( role , statelv ) end function State_costume1_Rem ( role , statelv ) end then in variable.lua -> line 91 (it didnt work if I did 155 = STATE_Costume1), but it isn't working like this either STATE_Costume1 = 155 Then at Dina in functions.lua: elseif Dina_x1_ID==2346 and Dina_x2_ID==7996 then local statelv = 1 local statetime = 3600 AddState( role , role , STATE_costume1 , statelv , statetime) -- AND local statelv_costume1 = GetChaStateLv ( role , STATE_costume1 ) if statelv_costume1~=0 then RemoveState ( role , STATE_costume1 ) end These are the 2 conditions but I wrote them seperately at the elseif and the second one at the if where the eff is removed am I doing something wrong? I also tried to edit the numbers between -2 and 2 but still nothing. Then I copied the compiled skilleff.bin and txt to client and compiled again there aswell. Could you guys help please? Thank you in advance!!