|
You last visited: Today at 19:38
Advertisement
[RELEASE]MAKE SCROLLS WORK CoEmuV2
Discussion on [RELEASE]MAKE SCROLLS WORK CoEmuV2 within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.
05/27/2009, 23:39
|
#1
|
elite*gold: 0
Join Date: Oct 2008
Posts: 76
Received Thanks: 47
|
[RELEASE]MAKE SCROLLS WORK CoEmuV2
hi guys thats the way to make scrolls work
in useitem.cs serach for
Quote:
case 1060020://twincity
{
Handler.Teleport(1002, 438, 377, 0, CSocket);
break;
}
case 1060023://phoniex
{
Handler.Teleport(1011, 232, 260, 0, CSocket);
break;
}
case 1060022://apecity
{
Handler.Teleport(1020, 565, 565, 0, CSocket);
break;
}
case 1060021://desertcity
{
Handler.Teleport(1000, 496, 649, 0, CSocket);
break;
}
case 1060024://birdisland
{
Handler.Teleport(1015, 723, 573, 0, CSocket);
break;
}
|
and thx for andy for that great source
sorry for bad english and tiny release
press rthank if i helped
Edit:edited it added
remove item after use
and i make the npc and it working good
and that the link
|
|
|
05/28/2009, 03:09
|
#2
|
elite*gold: 0
Join Date: Dec 2006
Posts: 684
Received Thanks: 238
|
Code:
//Scrolls
case 1060020:// Twin City Teleport
{
Handler.Teleport(1002, 438, 377, 0, CSocket);
Delete = true;
CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "You teleported to Twin City!", Struct.ChatType.Top));
break;
}
case 1060023: // Phoenix Castle Teleport
{
Handler.Teleport(1011, 232, 260, 0, CSocket);
Delete = true;
CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "You teleported to Phoenix Castle!", Struct.ChatType.Top));
break;
}
case 1060022:// Ape City Teleport
{
Handler.Teleport(1020, 565, 565, 0, CSocket);
Delete = true;
CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "You teleported to Ape City!", Struct.ChatType.Top));
break;
}
case 1060021:// Desert City Teleport
{
Handler.Teleport(1000, 496, 649, 0, CSocket);
Delete = true;
CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "You teleported to Desert City!", Struct.ChatType.Top));
break;
}
case 1060024:// Bird Island Teleport
{
Handler.Teleport(1015, 723, 573, 0, CSocket);
Delete = true;
CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "You teleported to Bird Island!", Struct.ChatType.Top));
break;
}
Just made some minor changes, but it works fine.
Thanks.
|
|
|
05/28/2009, 06:49
|
#3
|
elite*gold: 0
Join Date: Feb 2007
Posts: 268
Received Thanks: 49
|
Here I got it working that it gives u 2 +12 items it was easy, but it gives katana when u speak with him :S
Quote:
case 923:
{
if (LinkBack == 0)
{
Text("Ho i can give you full +12 gea if you wish Just Choose your pro?", CSocket); //Remove one ) and add, CSocket
Link("Trojan", 1, CSocket);
Link("Warrior", 2, CSocket);
Link("Archer", 3, CSocket);
Link("Toa", 4, CSocket);
Link("NiNja", 5, CSocket);
Link("No, I dont need", 255, CSocket);
End(CSocket);
}
else if (LinkBack == 1)
{
Struct.ItemInfo Item = new Struct.ItemInfo();
Item.Bless = 7;
Item.Dura = Item.MaxDura;
Item.Enchant = 25;
Item.ItemID = 410289;
Item.Plus = 12;
Item.Position = 0;
Item.Soc1 = 13;
Item.Soc2 = 13;
Item.Color = 0;
Item.UID = Nano.Rand.Next(1, 9999999);
bool created = Database.Database.NewItem(Item, CSocket);
while (!created)
{
Item.UID = Nano.Rand.Next(1, 9999999);
created = Database.Database.NewItem(Item, CSocket);
}
CSocket.Client.Inventory.Add(Item.UID, Item);
CSocket.Send(ConquerPacket.ItemInfo(Item.UID, Item.ItemID, Item.Plus, Item.Bless, Item.Enchant, Item.Soc1, Item.Soc2, Item.Dura, Item.MaxDura, Item.Position, Item.Color));
}
{
Struct.ItemInfo Item = new Struct.ItemInfo();
Item.Bless = 7;
Item.Dura = Item.MaxDura;
Item.Enchant = 25;
Item.ItemID = 601339;
Item.Plus = 12;
Item.Position = 0;
Item.Soc1 = 13;
Item.Soc2 = 13;
Item.Color = 0;
Item.UID = Nano.Rand.Next(1, 9999999);
bool created = Database.Database.NewItem(Item, CSocket);
while (!created)
{
Item.UID = Nano.Rand.Next(1, 9999999);
created = Database.Database.NewItem(Item, CSocket);
}
CSocket.Client.Inventory.Add(Item.UID, Item);
CSocket.Send(ConquerPacket.ItemInfo(Item.UID, Item.ItemID, Item.Plus, Item.Bless, Item.Enchant, Item.Soc1, Item.Soc2, Item.Dura, Item.MaxDura, Item.Position, Item.Color));
}
break;
}
|
|
|
|
05/29/2009, 00:42
|
#4
|
elite*gold: 0
Join Date: Oct 2008
Posts: 76
Received Thanks: 47
|
edited it now its better before it was working good but now better
and made npc and it worked good thats the link
|
|
|
05/29/2009, 00:53
|
#5
|
elite*gold: 20
Join Date: Apr 2008
Posts: 2,281
Received Thanks: 913
|
Just a hint for all you guys.
The definition for the Delete bool is true, so you don't have to add Delete = true; to the items.
Only if you don't want to delete the item, add Delete = false;
Saves time and space.
It pays to be cool, stay in school =P
|
|
|
05/29/2009, 01:08
|
#6
|
elite*gold: 0
Join Date: Oct 2008
Posts: 76
Received Thanks: 47
|
oh thx first time i made with out delete
|
|
|
05/29/2009, 02:06
|
#7
|
elite*gold: 0
Join Date: Dec 2006
Posts: 684
Received Thanks: 238
|
Quote:
Originally Posted by kinshi88
Just a hint for all you guys.
The definition for the Delete bool is true, so you don't have to add Delete = true; to the items.
Only if you don't want to delete the item, add Delete = false;
Saves time and space.
It pays to be cool, stay in school =P
|
You sure about that? If i remove delete = true; in my scrolls the item won't delete.
|
|
|
05/29/2009, 03:13
|
#8
|
elite*gold: 20
Join Date: Apr 2008
Posts: 2,281
Received Thanks: 913
|
Quote:
Originally Posted by scottdavey
You sure about that? If i remove delete = true; in my scrolls the item won't delete.
|
Yup. My items work perfect =D
|
|
|
05/29/2009, 04:16
|
#9
|
elite*gold: 0
Join Date: Dec 2006
Posts: 684
Received Thanks: 238
|
Quote:
Originally Posted by kinshi88
Yup. My items work perfect =D
|
Strange, why don't mine delete after use? I haven't touched anything lol.
|
|
|
05/29/2009, 04:38
|
#10
|
elite*gold: 0
Join Date: Dec 2006
Posts: 684
Received Thanks: 238
|
Yeah i know, i'm coding at 3am and i forgot to reload the debug. My fault lol.
Rewritten most npcs and made market/tg save your previous map, probably gonna be lots of typos atm i can barely see lol.
|
|
|
05/29/2009, 17:45
|
#11
|
elite*gold: 0
Join Date: Oct 2008
Posts: 76
Received Thanks: 47
|
oh **** when i edited it i made delete false sorry edited it again and now works fine
|
|
|
06/11/2009, 09:23
|
#12
|
elite*gold: 0
Join Date: Jan 2006
Posts: 430
Received Thanks: 286
|
Quote:
Originally Posted by scottdavey
Code:
//Scrolls
case 1060020:// Twin City Teleport
{
Handler.Teleport(1002, 438, 377, 0, CSocket);
Delete = true;
CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "You teleported to Twin City!", Struct.ChatType.Top));
break;
}
case 1060023: // Phoenix Castle Teleport
{
Handler.Teleport(1011, 232, 260, 0, CSocket);
Delete = true;
CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "You teleported to Phoenix Castle!", Struct.ChatType.Top));
break;
}
case 1060022:// Ape City Teleport
{
Handler.Teleport(1020, 565, 565, 0, CSocket);
Delete = true;
CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "You teleported to Ape City!", Struct.ChatType.Top));
break;
}
case 1060021:// Desert City Teleport
{
Handler.Teleport(1000, 496, 649, 0, CSocket);
Delete = true;
CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "You teleported to Desert City!", Struct.ChatType.Top));
break;
}
case 1060024:// Bird Island Teleport
{
Handler.Teleport(1015, 723, 573, 0, CSocket);
Delete = true;
CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "You teleported to Bird Island!", Struct.ChatType.Top));
break;
}
Just made some minor changes, but it works fine.
Thanks.
|
i tried his didn't work but yours did
thanks
|
|
|
06/15/2009, 01:59
|
#13
|
elite*gold: 0
Join Date: Oct 2008
Posts: 76
Received Thanks: 47
|
which one worked mine or his
|
|
|
06/15/2009, 04:57
|
#14
|
elite*gold: 0
Join Date: Jul 2008
Posts: 259
Received Thanks: 73
|
Really sorry to bring this topic back but you all are forgetting stonecity scroll xD
Code:
#region Scrolls
case 1060020://TwinCityGate
{
Handler.Teleport(1002, 438, 377, 0, CSocket);
break;
}
case 1060023://CastleGate
{
Handler.Teleport(1011, 190, 266, 0, CSocket);
break;
}
case 1060022://ApeCityGate
{
Handler.Teleport(1020, 565, 565, 0, CSocket);
break;
}
case 1060021://DesertCityGate
{
Handler.Teleport(1000, 500, 650, 0, CSocket);
break;
}
case 1060024://BirdIslandGate
{
Handler.Teleport(1015, 723, 573, 0, CSocket);
break;
}
case 1060102://StoneCityGate
{
Handler.Teleport(1213, 448, 272, 0, CSocket);
break;
}
#endregion
|
|
|
06/15/2009, 14:51
|
#15
|
elite*gold: 20
Join Date: Jun 2005
Posts: 1,013
Received Thanks: 381
|
Use a ******* database. Have you not all noticed that you are practically repeating the same code 15 times and making it impossible to edit points add new points without recompiling. lrn2code.
Code:
ScrollPoint sp = Select().From("scroll_points").Where(Equals("scoll_id", MyItem));
Handler.Teleport(sp.Map, sp.X, sp.Y, CSocket);
|
|
|
 |
|
Similar Threads
|
[Release]How To Make SD Hack Work!!!
08/10/2010 - Grand Chase Hacks, Bots, Cheats & Exploits - 37 Replies
I Can Tell You The Trick To Make It Work
Ok Here's The Steps:
1.)Make A Folder On Your DeskTop And Name It SD Hack
2.)Now On SD Hack Folder Make A 2 Folders Named Original And Hack Folders
3.)Go To GrandChase Folder
4.)Go To Stage Folder, Then Go To Ai Folder
5.)Copy The Ai.Kom
6.)Go Back To SD Hack Folder
7.)Go To Original Folder Then Paste The Ai.Kom(so It Means It's The Orginal File
|
[Release]How Can We Make No Recoil Work
12/13/2009 - Soldier Front Hacks, Bots, Cheats & Exploits - 56 Replies
U need 2 Have An Old SF Installer Or SF That Never Patched Until January 1 2009-March 9, 2009
Go TO SF FOlder
Open Version InFo
Recommended Notepad
Change 10070 to 10072
Now You Can Make No Recoil Work....
That's All
|
reverse return scrolls wont work..
03/27/2009 - Silkroad Online - 3 Replies
every time i die. respawn in town and repot. i try to go back to my hunting area and it keeps saying "Cannot Find Target" im like wtf? so i tried targeting myself and click return to where i died last. and it still gives me the same "Cannot Find Target" How can i use my reverse scrolls now?
|
[Release] How to make client v1130 work with oem
11/21/2008 - EO PServer Guides & Releases - 4 Replies
1st Download a client v1130 from eo.91.com
2nd Download any Paladin server patch on it
3rd Repatch ur client to the latest TQ Version
4th make an oem.dat and .ini
well it worked with me but it closes when it says virefying account
Cuz it needs new acc - msg - npc that can work with the manniquin
Hope u enjoy :)
|
Release hints of how to make 3.04 work
06/01/2008 - Dekaron - 47 Replies
Seeing a lot of you just whine and whine for the hack instead of digging your brains into the problem. Also, you blame on UG people do not public it for you guys; yet, someone is not in UG at all and still make it work 1 hour right after the patch was out!
So, here it is . It is not full release but just giving you very helpful hints .
To make it work , you have to downgrade to old version and use an appropriate path for the files.
Btw, use your damn brain when vaccing because when...
|
All times are GMT +1. The time now is 19:40.
|
|