Ne quest system for r63-368
Hello Ragezone,
I programmed in my emu for showing quests in r63-368 and found something, what i dont unterstand.
The old quest system doesnt work. Help me by coding a new Code!
here is a screenshot of the new Quest Center :
questss.PNG - Bilder und Fotos kostenlos auf ImageBanana hochladen
Re: Ne quest system for r63-368
ive started coding Ion now just give me some logs of the new quest system and i'll encode them and then code them fully into Uber
Re: Ne quest system for r63-368
Quote:
Originally Posted by
Žak™
ive started coding Ion now just give me some logs of the new quest system and i'll encode them and then code them fully into Uber
I have only this :
Reguests->User.cs
Code:
public void ShowQuests()
{
//L`val11{{2}}JPASjJFIND_STUFF{{2}}bling_chair_c{{2}}QA1296543600000{{2}}EXTRA01{{2}}{{2}}PkHFIND_STUFF{{2}}val_table1{{2}}QA1296630000000{{2}}EXTRA02{{2}}{{2}}P]HFIND_STUFF{{2}}bling_bed{{2}}QA1296802800000{{2}}DAY02{{2}}{{2}}S\HFIND_STUFF{{2}}bath{{2}}QA1296716400000{{2}}DAY01{{2}}{{2}}
DataTable Data = null;
DataRow QuestCount = null;
using (DatabaseClient dbClient = UberEnvironment.GetDatabase().GetClient())
{
Data = dbClient.ReadDataTable("SELECT * FROM quests");
QuestCount = dbClient.ReadDataRow("SELECT COUNT(*) AS total FROM quests");
}
if (Data == null)
{
return;
}
string Count = QuestCount["total"].ToString();
int TotalQuestCount = int.Parse(Count);
ServerMessage OpenQuest = new ServerMessage(800);
OpenQuest.AppendInt32(2);
OpenQuest.AppendInt32(TotalQuestCount);
foreach (DataRow Row in Data.Rows)
{
OpenQuest.AppendInt32((int)Row["id"]);
OpenQuest.AppendInt32(0);
OpenQuest.AppendStringWithBreak("FIND_STUFF");
OpenQuest.AppendStringWithBreak((string)Row["item"]);
OpenQuest.AppendInt32(5);
OpenQuest.AppendStringWithBreak((string)Row["time"]);
OpenQuest.AppendStringWithBreak((string)Row["data"]);
OpenQuest.AppendStringWithBreak("");
}
Session.SendMessage(OpenQuest);
}
And the Command :
Code:
case "quest":
Session.GetMessageHandler().ShowQuests();
return true;
---------- Post added at 07:21 AM ---------- Previous post was at 07:14 AM ----------
When we delete the line OpenQuest.AppendStringWithBreak("val11"); // val11 / xmas10
then was it so :
http://img6.imagebanana.com/img/grwpznss/thumb/newquests.PNG
Re: Ne quest system for r63-368
I have started on them too, Have not got fare but I have no idea what they will look like, I may go and look on the fansites now to see what it suppose to look like fully done.
Re: Ne quest system for r63-368
Code:
foreach (DataRow Row in Data.Rows)
{
OpenQuest.AppendInt32((int)Row["id"]);
OpenQuest.AppendInt32(0);
OpenQuest.AppendStringWithBreak("FIND_STUFF");
OpenQuest.AppendStringWithBreak((string)Row["item"]);
OpenQuest.AppendInt32(5);
OpenQuest.AppendStringWithBreak((string)Row["time"]);
OpenQuest.AppendStringWithBreak((string)Row["data"]);
OpenQuest.AppendStringWithBreak("");
}
Get me some fresh packet logs and i wont mind doing this
Re: Ne quest system for r63-368
The new quest is "room_builder"
PHP Code:
//OpenQuest.AppendStringWithBreak("room_builder"); // val11 / xmas10 / room_builder
if you want to use remove the //
---------- Post added at 12:51 PM ---------- Previous post was at 12:43 PM ----------
Where i put: case "quest":
Session.GetMessageHandler().ShowQuests();
return true;
Re: Ne quest system for r63-368
Quote:
Originally Posted by
GuikBretas
The new quest is "room_builder"
PHP Code:
//OpenQuest.AppendStringWithBreak("room_builder"); // val11 / xmas10 / room_builder
if you want to use remove the //
---------- Post added at 12:51 PM ---------- Previous post was at 12:43 PM ----------
Where i put: case "quest":
Session.GetMessageHandler().ShowQuests();
return true;
ChatCommandHandler.cs
ermm I am packetlogging right now.
Re: Ne quest system for r63-368
Make a better structure. Or learn more about Packets.
Re: Ne quest system for r63-368
Hadn't seen any images of the new Quest system, cool stuff
Re: Ne quest system for r63-368
yes it is really cool. I will make a private code in C#. It really looks similar to old quests. (in code)
Re: Ne quest system for r63-368
Have one packet for you
Code:
L`PAroom_builder{2}PBPBHHH{2}{2}H{2}HHsocial{2}RARAHHH{2}{2}H{2}HHidentity{2}KKHHH{2}{2}H{2}HHexplore{2}PDPDHHH{2}{2}H{2}HHI{1}
or decoded:
Code:
GetMessageHandler().GetResponse().Init(800); //Header
GetMessageHandler().GetResponse().AppendInt32(1); // Amount of Quests
#region Room Builder
GetMessageHandler().GetResponse().AppendStringWithBreak("room_builder");
GetMessageHandler().GetResponse().AppendInt32(1); // Steps complete
GetMessageHandler().GetResponse().AppendInt32(8); // Steps
GetMessageHandler().GetResponse().AppendInt32(0); // No idea
GetMessageHandler().GetResponse().AppendInt32(0); // Enabled
GetMessageHandler().GetResponse().AppendInt32(0); // Taken
GetMessageHandler().GetResponse().AppendStringWithBreak("");
GetMessageHandler().GetResponse().AppendInt32(0); // Reward in pixels
GetMessageHandler().GetResponse().AppendStringWithBreak("");
#endregion
GetMessageHandler().GetResponse().AppendInt32(0); // No idea
GetMessageHandler().GetResponse().AppendInt32(0); // No idea
GetMessageHandler().GetResponse().AppendInt32(1); // No idea
GetMessageHandler().SendResponse();
PS. Decoded only 1 quest. Add more yourself
Re: Ne quest system for r63-368
Its maby cool, but if you have the newest habbo build you can`t connect with our server so, if this is fully coded, its not useful. lol first a fix for that not connecting thing.
Re: Ne quest system for r63-368
Re: Ne quest system for r63-368
I know the connecting thing U NEED game-us.habbo.com or something varoke is deleted :D
Re: Ne quest system for r63-368
Quote:
Originally Posted by
wichard
I know the connecting thing U NEED game-us.habbo.com or something varoke is deleted :D
how do you mean...