there'ya go.
if (LinkBack == 0)
{
if (CSocket.Client.PkPoints <= 99)
{
Text("Lucky for you, the player who killed you is willing to drop the murder charges if", CSocket);
Text(" you pay him according to what you did. Lucky for you, the player who killed you", CSocket);
Text(" is willing to drop the murder charges if you pay him 500,000 silvers.", CSocket);
Link("Ok! Let me get out from here!", 1, CSocket);
Link("Any chance of a discount?", 2, CSocket);
Link("I would rather rot in hell!", 255, CSocket);
End(CSocket);
}
else if (LinkBack == 1)
{
Text("You needn't stay here anymore. Let me help you out.", CSocket);
Link("Ok, thanks.", 5, CSocket);
Link("Leave me alone", 255, CSocket);
End(CSocket);
}
else if (LinkBack == 5)
{
if (CSocket.Client.PkPoints <= 99)
{
Teleport(1002, 518, 356, 0, CSocket);
}
}
else if (LinkBack == 2)
{
Text("The red name, whose PK Points are 30-99 can leave here without any price.", CSocket);
Text(" The black name, whose PK Points are 100 or above, should pay 500,000 as recognizance", CSocket);
Text(" to leave here.", CSocket);
Link("Ok, I will pay.", 7, CSocket);
Link("I would rather stay here.", 255, CSocket);
End(CSocket);
}
else if (LinkBack == 7)
{
if (CSocket.Client.PkPoints <= 99)
{
Text("You needn't stay here anymore. Let me help you out.", CSocket);
Link("Ok.", 8, CSocket);
Link("Leave me alone.", 255, CSocket);
End(CSocket);
}
else if (LinkBack == 8)
{
if (CSocket.Client.PkPoints <= 99)
{
Teleport(1002, 518, 356, 0, CSocket);
}
if (LinkBack == 0)
{
if (CSocket.Client.PkPoints > 99)
{
Text("Lucky for you, the player who killed you is willing to drop the murder charges if", CSocket);
Text(" you pay him according to what you did. Lucky for you, the player who killed you", CSocket);
Text(" is willing to drop the murder charges if you pay him 500,000 silvers.", CSocket);
Link("Ok! Let me get out from here!", 9, CSocket);
Link("Any chance of a discount?", 10, CSocket);
Link("I would rather rot in hell!", 255, CSocket);
End(CSocket);
}
else if (LinkBack == 9)
{
Text("You needn't stay here anymore. Let me help you out.", CSocket);
Link("Ok, thanks.", 11, CSocket);
Link("Leave me alone", 255, CSocket);
End(CSocket);
}
else if (LinkBack == 11)
{
if (CSocket.Client.PkPoints > 99)
{
Text("I cannot let you out you are black name.", CSocket);
Link("Crap!", 255, CSocket);
End(CSocket);
}
}
else if (LinkBack == 10)
{
Text("The red name, whose PK Points are 30-99 can leave here without any price.", CSocket);
Text(" The black name, whose PK Points are 100 or above, should pay 500,000 as recognizance", CSocket);
Text(" to leave here.", CSocket);
Link("Ok, I will pay.", 12, CSocket);
Link("I would rather stay here.", 255, CSocket);
End(CSocket);
}
else if (LinkBack == 12)
{
if (CSocket.Client.PkPoints > 99)
{
Text("You needn't stay here anymore. Let me help you out.", CSocket);
Link("Ok.", 13, CSocket);
Link("Leave me alone.", 255, CSocket);
End(CSocket);
}
else if (LinkBack == 13)
{
if (CSocket.Client.PkPoints > 99)
if (CSocket.Client.Money >= 500000)
{
Teleport(1002, 518, 356, 0, CSocket);
Money(-500000, CSocket);
}
break;
}
Reading 'newplain.DMap' map\puzzle\newplain.pul ani\MapScene.ani ( Repeats for 20k bytes ) -- ani\MapScene.ani: Reference 'newplain' -- [gsp01.tga] FrameAmount=1 Frame0=data/map/mapobj/newplain/city/gsp01.tga [gsp02.tga] FrameAmount=1 Frame0=data/map/mapobj/newplain/city/gsp02.tga
[18:44:53.59 # Thu 06/18/2009] [IO-41532922F054 / ~\DMapReader\bin\Debug] >DMapReader newplain.pul Reading 'newplain.pul' ani\newplain.ani -- ani\MapScene.ani: Reference 'n/a' -- [Puzzle0] FrameAmount=1 Frame0=data/map/puzzle/newplain/city/city000.dds [Puzzle1] FrameAmount=1 Frame0=data/map/puzzle/newplain/city/city001.dds [Puzzle2] FrameAmount=1 Frame0=data/map/puzzle/newplain/city/city002.dds [Puzzle3] FrameAmount=1 Frame0=data/map/puzzle/newplain/city/city003.dds [Puzzle4] FrameAmount=1 Frame0=data/map/puzzle/newplain/city/city004.dds [Puzzle5] FrameAmount=1 Frame0=data/map/puzzle/newplain/city/city005.dds [Puzzle6] FrameAmount=1 Frame0=data/map/puzzle/newplain/city/city006.dds [Puzzle7] FrameAmount=1 Frame0=data/map/puzzle/newplain/city/city007.dds [Puzzle8] FrameAmount=1 Frame0=data/map/puzzle/newplain/city/city008.dds [Puzzle9] FrameAmount=1 Frame0=data/map/puzzle/newplain/city/city009.dds [Puzzle10] FrameAmount=1 Frame0=data/map/puzzle/newplain/city/city010.dds ( Continues to 1749 )
No, You just have to send the status packet.Quote:
Btw anybody noticed that you have to log off then back on for it to understand you have been reborned?