I want to show you how to add a new effect to your private server but I wasn't working on a 4story for a very long time so if i made something worng just let me know
Ok so let's start:
First of all we need few thing to make this working.
Here is the list:
a) TItemGradeVisual.tcd and Editor to open the file ( Don't worry if you don't have one, I will post here my old editor for you )
b) Index Editor ( In this tutorial I'm using Stotterer09's Index Editor which can be found here: , unfortunately I couldn't find my own Index Editor ...
b) Sources:
- TClient.
- TProtocol.
- TMAP.
Step #1 - Open TItemGradeVisual Editor and load Tcd file:
Scroll to the end of Listbox and check how many kindID got your file, In my case I got 18 of them:
Step #2:
So if I have 18 x KindID it means that I need to create 18 new Items in the Tcd file.
To create a new Items in TItemGradeVisual click on the "Add New" in my case i need to do this 18 times.
After creating all ot this Items my tcd file looks like this:
Step #3:
Let's leave for a second the Tcd file but do not close it, we will need it later.
To create a new effect we need a textureID, probably the easiest way to find a random texture just for a test purpose is to open Index Editor and just find TextureID:
Step #4: So we got our TextureID and now we can finish editing the Tcd file:
- Set for every Item KindID from 1 to 18 ( In my case i got 18 )
- Set dwTextureID to 285967338.
- Set bOPCode to 2.
- We need also a wGrade so let's take a random numer hum maybe 25
Your Tcd file should looks like this after changes and is now ready to be saved:
Step #5: We can move now to the TProtocol Sources:
- Open NetCode.h and find following line of code:
PHP Code:
typedef enum TITEMGRADEEFFECT_TYPE
And add the following line of code:
PHP Code:
IE_TEST
Step #6:
- Go to the TClient Source and open TClientItem.cpp.
- Find following line of code:
PHP Code:
LPTITEMGRADEVISUAL CTClientItem::GetGradeVISUAL()
And add following line of code:
PHP Code:
case IE_TEST: wGradeSkin = 25; break;
Step #7:
Save everything and rebuild TProtocol, TClient and TMAP
And here is the final result ( I know it doesn't looks great but cmon it's only a test )
[Tut][06.01.2013]How To Add Different Effects To Items 09/09/2013 - S4 League Hacks, Bots, Cheats & Exploits - 77 Replies Hi To All , It's Been A Long Time I Haven't Posted A New Thread. But I'm With You Again.
Today I Will Teach You How To Add Different Effects To Items.
I'll Add A Video Later. Let's Get Started :
Requirements :
Cheat Engine
New NPC Effects + Player Effects 11/22/2008 - EO PServer Hosting - 9 Replies Okay guys I have noticed that some of the old npc effects are getting old and boring... so I have found new ways of adding effects to not only NPCs but players also.
Here are some of the many effects you can use. To test them use /addeffect and then one of the codes below:
noconfirm029 <---- 029 numbers can be changed for different effects
newyear5 <----- 5 number can be changed for different effects
balloon1 <-- 1 number can be changed for different effects
meltnpc
action3 <--- 3...