Help fix everything in 5375

05/13/2011 01:14 mohaned_magdy#1
help to fix GW in 5375

hello guys

i can log in the game now and fix some errors
but the GW Gates not work
i can attack gate but its not opening !!
coz i cant log in at pole :(

any help for fix this problem pls ??
thx
05/13/2011 09:43 Spirited42#2
Don't double post.
Well, I'll give you a short tutorial on how to fix it. The gates have certain textures, each which are displayed in different angles. Basically... when the gate reaches an hp below 0, the gate disappears using "Remove Entity" from the General Data packet (10010) and then spawns the new gate (that's open, using the different texture).

Hope that helped. If it didn't, I can't help you grow a brain (damn. That sounded a lot better in my head).

Sincerely,
Fang

EDIT: Most old sources aren't using the textures correctly. The should be using a separate packet. Look at terrainnpc.ini for the correct way or... just steal the wrong way (which works...) from another source.
05/13/2011 15:43 mohaned_magdy#3
ummm
man pls copy the code and show me where i edit ?

thx
05/13/2011 15:46 mohaned_magdy#4
u mean it ?
RemoveEntity = 135,

i chang 135 >>> 10010 ?
05/13/2011 17:19 12tails#5
10010 = General data packet ID
135 = packet subtype
if you change it to 10010 will never work...
use like generaldata(terrain.uid,0,0,0,0,0,datatype.entityr emove)
thats an example token from my source....
05/13/2011 17:40 mohaned_magdy#6
Hello

[Only registered and activated users can see links. Click Here To Register...]

i see this when i click at some items
any help ?? :(
05/13/2011 17:52 mohaned_magdy#7
ummm
i cant do that
can u show me pic
or upload your generaldata pls
just help and thx for ever :(
05/13/2011 19:11 pro4never#8
Simple.

Code the item usage.

That appears to be my old source I released which contains few if any item usage codes (ie: no usable items work) they are very simple to code. Do it yourself with a bit of practice. It's a good learning experience.
05/13/2011 19:20 mohaned_magdy#9
ok i will tray

i have error in ( IPacket )
its not exit in sorce :(

can u help ??
05/13/2011 19:31 Spirited42#10
Quote:
Originally Posted by mohaned_magdy View Post
i have error in ( IPacket )
its not exit in sorce :(

can u help ??
DUDE. Stop double posting everywhere.
If you want an item to be coded, code it. Otherwise, you should not be trying to run a server. Most of the people that I mentor and help actually want to learn. They try their hardest to understand C# and try to impress me. If you don't have that quality, then don't run a server.

I'm not trolling- i'm being realistic.
05/13/2011 19:35 Spirited42#11
Stop double posting...
I don't understand you. Do you actually want to learn C#? Because I have no problem with you if you do... but copying and pasting shit aren't going to teach you anything about C#. I told you in full detail on how to code it. If you can't, then start with something smaller and work your way up like I did and many other people have done on this forum.
05/14/2011 00:59 mohaned_magdy#12
ops
i am sry bro
i know u the best one here
i am new in C# but not bad :)

now i no understand u ...
i have problem in the GW Gates and in Pole
if i won the pole i can hit and attack it again .. lol
and the gates when i talk it to join in or open gate ( Nothing happens ) !!

man pls just tell me wat i do and in any folder i edit ?
and upload any Images from your PC for help me to fix this problems :(

]if u no understand me tell me that pls
thx :)

ok ok sry

now i am new in C# bot i am not bad

show me any Example to do that pls and i will tray to fix all items
and tell me where i can edit ?? in any file in sorce ??

Hello Guys

i need help pls
need npc sell MeteorScrol in 5375 :)

or any one give me the MeteorScrol item ID
and i will code the NPC

thx :)
05/14/2011 02:03 { Angelius }#13
ID = 720027;

next time you can look in the ItemType/Items.txt for the items id's
05/14/2011 02:08 mohaned_magdy#14
Hello Guys :)

pls any one help me to code the un married in market ?

NPC Name Is : Starlit


thx all :)

yes i got it lol
thx pro :)

can u help me in this topic pls ? :
[Only registered and activated users can see links. Click Here To Register...]

w8 for u now :)

how i can get this NPC lookface ?

[NpcType277]
Name=AwarderWoo
SimpleObjID=8
StandByMotion=9990070100
BlazeMotion=9990070190
RestMotion=9990070101
Effect=none
ASB=5
ADB=6
FixDir=0

.................

:D:D
05/14/2011 11:46 Korvacs#15
Merged.

Please keep all of your help requests to this thread.