P Server "NPC base code/shops/drop items" for who asked me 2 do it

06/26/2008 21:49 stephanyd#1081
Hi...is my dialog for Sunjeweler wrong?? i have 15 ref gems and he won't give me a super one... see my screenshot
06/26/2008 21:49 adz06676#1082
Quote:
Originally Posted by .:Saad:. View Post
i've looked in the .cs file and tested many things but i dont know how i have to make the dialouge damn -.-
rew=reborn3tro

thats it no reborn3tro,3 just reborn3tro understand now?
06/26/2008 21:55 plasma-hand#1083
how do i get fortress
06/26/2008 22:04 adz06676#1084
Quote:
Originally Posted by plasma-hand View Post
how do i get fortress
/skill fortress check the source for the last time -.-'' chat.cs
06/26/2008 22:10 plasma-hand#1085
i did that... nothing happens
06/26/2008 22:14 IAmHawtness#1086
Seriously, if anyone else ISN'T getting the client crash error, please tell me :)
06/26/2008 22:17 DragonStar#1087
@adz06676
nice work, the rb thing i was able to do the same but i noticed yours has same prob as
as mine. Other people cant c the effect of sum1 that is 2nd rb or 3rb, only u can c the effect on urself. did ne1 ever find a way to make the effect visible to every1?
06/26/2008 22:41 IAmHawtness#1088
Quote:
Originally Posted by DragonStar View Post
@adz06676
nice work, the rb thing i was able to do the same but i noticed yours has same prob as
as mine. Other people cant c the effect of sum1 that is 2nd rb or 3rb, only u can c the effect on urself. did ne1 ever find a way to make the effect visible to every1?
Try this for starters:

WorldHandler.cs, line 344:

Quote:
public static void SpawnMeToOthers(Client Me, bool Check)
{
IDictionaryEnumerator en = AllClients.GetEnumerator();
if (Check == true)
{
while (en.MoveNext())
{
Client CClient = (Client)en.Value;
if (CClient.Online)
if (Me.Online)
if (Me.MyChar.PosMap == CClient.MyChar.PosMap)
if (MyMath.PointDistance(Me.MyChar.PrevX, Me.MyChar.PrevY, CClient.MyChar.PosX, CClient.MyChar.PosY) + 0.01 > 14)
if (MyMath.PointDistance(Me.MyChar.PosX, Me.MyChar.PosY, CClient.MyChar.PosX, CClient.MyChar.PosY) + 0.01 < 14)
{
byte[] Pack;
if (Me.MyChar.Alive == true)
{
Pack = Me.ThePackets.SpawnEntity(Me.MyChar);
}
else
{
Pack = CClient.ThePackets.SpawnDead(Me.MyChar);
}
CClient.SendPacket(Pack);
if (Me.MyChar.Rb == 3)
{
WorldHandler.Effect(Me.MyChar, "curse");
}
if (Me.MyChar.Rb == 2)
{
WorldHandler.Effect(Me.MyChar, "2NDMetempsychosis");
}
}
}
}
06/26/2008 23:01 adz06676#1089
Quote:
Originally Posted by DragonStar View Post
@adz06676
nice work, the rb thing i was able to do the same but i noticed yours has same prob as
as mine. Other people cant c the effect of sum1 that is 2nd rb or 3rb, only u can c the effect on urself. did ne1 ever find a way to make the effect visible to every1?
Yeh i never took any notice to it really

Quote:
Originally Posted by IAmHawtness View Post
Try this for starters:

WorldHandler.cs, line 344:
^His idea may work can't say i've really tried.
06/27/2008 00:02 necuja#1090
@adz06676
I was wondering because i click reborn to reborn and it doesn't do anything have any ideas?
I have to type /reborn1 to reborn it wont let me use the npc to reborn
06/27/2008 00:06 adz06676#1091
Quote:
Originally Posted by necuja View Post
@adz06676
I was wondering because i click reborn to reborn and it doesn't do anything have any ideas?
I have to type /reborn1 to reborn it wont let me use the npc to reborn
npc has to be like this rew=reborn3tro
thats all for the npc

u have to be a gm to use /reborn1 damn just check the source
06/27/2008 00:09 bobtin777#1092
how come the manas not working??
06/27/2008 00:12 adz06676#1093
Quote:
Originally Posted by bobtin777 View Post
how come the manas not working??
If you mean mine it does work i've released the source i'm still coding and its working fine i dont really understand how people are managing to balls this up
06/27/2008 00:31 gfun1#1094
Quote:
Originally Posted by IAmHawtness View Post
No luck making monsters respawn properly at the same time, without crashing the client?`..

Anyone ? =(
Currently, we are looking into this, (Myself and Sam)

The issue only happens with the official client, as Sam uses QO client, he did not know about this, I use the official client version 4348 and I get disconnected when a monster spawns. The issue, I believe, is a malformed packet, or a packet that is being sent to the CO client that was made for the QO client, causing unexpected termination of the CO client. Hopefully we will have that fixed some time soon. We really need the packet for Mob Spawn for the CO client to make it happen, but I am working to find it.

Quote:
Originally Posted by huseby
U sude let the commands /dc and /prof working fore all players sens plays may lose ther prof and /dc works as a debug or just a fast way to change char
Once the server is complete, the /dc and /prof commands would not be needed, it is my aim to make a CO replication server with all features working, with the easy ability for someone who does not know coding, to make their server work and change rates (Drop rates, exp rates and so on) But the server will have the ability to be made into a FunServ or Custom Server.

As for the commands, a simple edit to move the 2 command IF statements, outside the IF GM statement would do the trick for you :)
06/27/2008 00:53 IAmHawtness#1095
Quote:
Originally Posted by gfun1 View Post
Currently, we are looking into this, (Myself and Sam)

The issue only happens with the official client, as Sam uses QO client, he did not know about this, I use the official client version 4348 and I get disconnected when a monster spawns. The issue, I believe, is a malformed packet, or a packet that is being sent to the CO client that was made for the QO client, causing unexpected termination of the CO client. Hopefully we will have that fixed some time soon. We really need the packet for Mob Spawn for the CO client to make it happen, but I am working to find it.
MonsterSpawnPacket;

ushort size;
ushort type;
uint entitiyid;
uint model;
int statusflags;
int guild;
uint headitem;
uint bodyitem;
uint rhitem;
uint lhitem;
uint unknownitem1;
uint unknownitem2;
ushort health;
ushort level;
ushort x;
ushort y;
ushort hairstyle;
uchar direction;
ushort action;
uint unknown;
uchar namecount;
char * monstername;
ushort reserved;

Don't know if it helps, I haven't had any luck so far..