An exit TG with options to all cities

06/14/2009 03:36 WHITELIONX#1
Ok so please don`t criticise me for this but I just used my brain a bit and a bit of copy and paste from what was already in the source this is based from the TC conductress but it does actually work and gives you an option of what city to spawn to from TG. And to be quite honest I wish TQ would have actually done something like this! This is for CoEmuv2 source :D



}
case 600075: //TGBoxer
{
if (LinkBack == 0)
{
Text("Hello! Would you like to leave tg? And if so where would you like to spawn to", CSocket);
Link("TwinCity,", 1, CSocket);
Link("Ape City", 2, CSocket);
Link("Bird Island", 3, CSocket);
Link("Desert City", 4, CSocket);
Link("Phoenix Castle", 5, CSocket);
Link("No Thank you I want to stay.", 255, CSocket);
End(CSocket);
}
else if (LinkBack == 1) //Twin City
{
Teleport(1002, 429, 381, 0, CSocket);
}
else if (LinkBack == 2) //Ape City
{
Teleport(1020, 566, 562, 0, CSocket);
}
else if (LinkBack == 3)//Bird Island
{
Teleport(1015, 718, 577, 0, CSocket);
}
else if (LinkBack == 4)//Desert City
{
Teleport(1000, 495, 649, 0, CSocket);
}
else if (LinkBack == 5)//Phoenix Castle
{
Teleport(1011, 193, 266, 0, CSocket);
}
break;
06/14/2009 04:03 CIRASH#2
hehe thats basically a conductress just in tg but still cool. Thanks.

nice release
06/14/2009 04:05 WHITELIONX#3
Thank you it was the simplest and fastest thing I could think of lol and for TG npcs in each city just copy and paste the pc one but change the names to the corresponding npc and change the numbers obviously :P
06/14/2009 05:04 hunterman01#4
if you are trying to make it like a normal conductress then dont forget to add the fine
06/14/2009 05:08 WHITELIONX#5
The fine? If you mean pricing then this is for exiting TG and exiting is generally free from TG :D
06/14/2009 06:09 arab4life#6
good job
06/14/2009 07:37 raidenx123#7
Good job :)
You should also make the conductress in market teleport you anywhere
06/14/2009 16:09 arab4life#8
You should add Market -

Quote:
case 600075: //TGBoxer
{
if (LinkBack == 0)
{
Text("Hello! Would you like to leave Training Ground? And if so where would you like to spawn to?", CSocket);
Text("What kind of person charges money for teleportaion - Other Server's?", CSocket);
Link("Ape City", 1, CSocket);
Link("Bird Island", 2, CSocket);
Link("Phoenix Castle", 3, CSocket);
Link("Desert City", 4, CSocket);
Link("TwinCity,", 5, CSocket);
Link("Market", 6, CSocket);
Link("Nevermind!", 255, CSocket);
End(CSocket);
}
else if (LinkBack == 1) //Ape City
{
Teleport(1020, 566, 562, 0, CSocket);
}
else if (LinkBack == 2) //Bird Island
{
Teleport(1015, 718, 577, 0, CSocket);
}
else if (LinkBack == 3)//Phoenix Castle
{
Teleport(1011, 193, 266, 0, CSocket);
}
else if (LinkBack == 4)//Desert City
{
Teleport(1000, 495, 649, 0, CSocket);
}
else if (LinkBack == 5)//Twin City
{
Teleport(1002, 429, 381, 0, CSocket);
}

else if (LinkBack == 6)//Market
{
Teleport(1036, 211, 196, 0, CSocket);
}
break;
}
06/14/2009 18:52 WHITELIONX#9
Cool and all you need to change is (case 600075: //TGBoxer) When you chat to market npc you will see a number this is the case number and change TGBoxer to MarketConductress maybe?
06/14/2009 19:45 arab4life#10
ya
06/14/2009 19:51 danielachraf#11
Quote:
Originally Posted by arab4life View Post
good job
Quote:
Originally Posted by raidenx123 View Post
Good job :)
You should also make the conductress in market teleport you anywhere
lol not good job. .. the real boxer teleport you to the map where you were
06/14/2009 20:29 WHITELIONX#12
An exit TG with options to all cities <<<---What part of that didn`t you understand? Keep your opinions to yourself Danielacharaf I already said not to criticise.

This is for people that don`t have a tg exit and don`t know how to go about it and besides if you have read several of my posts you would KNOW I have NO programming knowledge like most on here and isn`t this a site to HELP people?

If you have got nothing constructive to say then just fuck off.
06/14/2009 23:13 LordSesshomaru#13
Well if u would just handle it the right way you could send them back to the city they came from ....
06/14/2009 23:51 WHITELIONX#14
I don`t WANT to be sent back to the city I came from I wanted an option to teleport to ANY city seriously if people don`t get it then don`t damn well check it ffs
06/14/2009 23:53 arab4life#15
just let them be - i think they can't really read english - you clearly said TG to any city - But i guess they must live on the eggy side