Yoko
http://forum.yoko.com.ua/

Yoko with client 7.0.35.6
http://forum.yoko.com.ua/viewtopic.php?f=1&t=17493
Page 1 of 2

Author:  Hypermangan [ 2014-10-08 16:29:22 ]
Post subject:  Yoko with client 7.0.35.6

Hallo,

our shard (0.56c-Nightly) has migrated and forced us to use client 7.0.35.6. Is there some possibility to run yoko with this client? Thanks for replies.

Author:  Juicy Fruit [ 2014-10-08 17:28:19 ]
Post subject:  Re: Yoko with client 7.0.35.6

If not crypted.

Author:  Wondrash [ 2014-10-09 00:38:04 ]
Post subject:  Re: Yoko with client 7.0.35.6

Hello.

I have a same problem, but I can log in with this client (7.0.35.6) however after few steps game totaly freez.

Its any chance to decrypt thit version or modify some Yoko files?

Thank before for ideas! :idea:

W.

Author:  Hypermangan [ 2014-10-09 10:28:23 ]
Post subject:  Re: Yoko with client 7.0.35.6

Yes my client freezes too after few steps without encryption.

Author:  Juicy Fruit [ 2014-10-09 10:40:35 ]
Post subject:  Re: Yoko with client 7.0.35.6

Write in p.m. link on server (or link on distributive for this client and loginserver), test acc

Author:  Xavirian [ 2014-10-09 13:01:58 ]
Post subject:  Re: Yoko with client 7.0.35.6

Hypermangan wrote:
Yes my client freezes too after few steps without encryption.

I use this topic.
Me too. I have same problem.

I see Yoko have supports up to version 7.0.29 client. For the newest client was changed packets, files from 7.24 version? Yoko will also support new clients (if yoko support 7.0.29)? Is it planned? Thanks for replies.
And thanks you for good job on Yoko. Last year changes are amazing.

Author:  Wondrash [ 2014-10-09 13:36:20 ]
Post subject:  Re: Yoko with client 7.0.35.6

Juicy Fruit wrote:
Write in p.m. link on server (or link on distributive for this client and loginserver), test acc


I wrote you an email. Thanks before...

Author:  Juicy Fruit [ 2014-10-09 19:38:41 ]
Post subject:  Re: Yoko with client 7.0.35.6

http://rghost.ru/58436215
This injection.dll version works stably on Kelevar shard.

Author:  Wondrash [ 2014-10-09 21:11:21 ]
Post subject:  Re: Yoko with client 7.0.35.6

Thanks man, great work! But I am interesting, where is the problem?

Author:  Juicy Fruit [ 2014-10-09 22:06:48 ]
Post subject:  Re: Yoko with client 7.0.35.6

One of new packet it was not correctly parsed.

Author:  Wondrash [ 2014-10-09 23:02:10 ]
Post subject:  Re: Yoko with client 7.0.35.6

I think, is there a little problem. It seem Injection with this client dont know item Type. For example when I use a easy scp with UO.BandageSelf() I´ve got a system message No bandages found. When I try it with UO.UseType("0x0E21") I´ve got basically the same message No item found. I´ve tried info command and Type is still the same.

Thanks before for reply!

W.

Author:  Venushja [ 2014-10-09 23:22:57 ]
Post subject:  Re: Yoko with client 7.0.35.6

problem with items I with advice from friend this. (Packet 0xF3)
Code:
private static CallbackResult OnItemDetailsNew(byte[] data, CallbackResult prevState)
        {
            lock (World.SyncRoot)
            {
                PacketReader reader = new PacketReader(data);

                byte id = reader.ReadByte();
                if (id != 0xF3) throw new Exception("Invalid packet passed to OnItemDetailsNew.");

                ushort osiShit = reader.ReadUInt16();
                byte dataType = reader.ReadByte();
                uint serial = reader.ReadUInt32();
                bool isNew = false;
                RealItem item = World.FindRealItem(serial);
                ushort graphic = reader.ReadUInt16();
                byte facing = reader.ReadByte();
                ushort amount = reader.ReadUInt16();
                ushort amount2 = reader.ReadUInt16();
                ushort x = reader.ReadUInt16();
                ushort y = reader.ReadUInt16();
                sbyte z = reader.ReadSByte();
                byte lightLevel = reader.ReadByte();
                ushort hue = reader.ReadUInt16();
                byte flag = reader.ReadByte();
                ushort access = reader.ReadUInt16();
                if (item == null)
                {
                    item = new RealItem(serial);
                    item.Graphic = graphic;
                    item.X = x;
                    item.Y = y;
                    item.Z = z;
                    item.Flags = flag;
                    item.Color = hue;
                    item.Amount = amount;
                    World.Add(item);
                    isNew = true;
                }
                item.Detach();
#if WORLDDEBUG
                Trace.WriteLine(String.Format("Item updated ({0}).", item.Description), "World");
#endif
                if (isNew)
                    itemAdded.InvokeAsync(null, new ObjectChangedEventArgs(serial, ObjectChangeType.NewItem));

                ObjectChanged(serial, ObjectChangeType.ItemUpdated);
                itemUpdated.InvokeAsync(null, new ObjectChangedEventArgs(item.Serial, ObjectChangeType.ItemUpdated));

                return CallbackResult.Normal;
            }
        }


old items (Packet 0x1A)
Code:
private static CallbackResult OnItemDetails(byte[] data, CallbackResult prevResult)
        {
            lock (World.SyncRoot) {
                PacketReader reader = new PacketReader(data);

                byte id = reader.ReadByte();
                if (id != 0x1A) throw new Exception("Invalid packet passed to OnItemDetails.");

                ushort blockSize = reader.ReadUInt16();

                if (blockSize != reader.Length)
                    return CallbackResult.Normal;

                uint serial = reader.ReadUInt32();

                bool isNew = false;
                RealItem item = World.FindRealItem(serial);
                if (item == null) {
                    item = new RealItem(serial);
                    World.Add(item);
                    isNew = true;
                }

                ushort dispId = reader.ReadUInt16();

                if ((serial & 0x80000000) != 0) {
                    item.Amount = reader.ReadUInt16();
                }

                if ((dispId & 0x8000) != 0) {
                    dispId += reader.ReadByte();
                }

                item.Graphic = (ushort)(dispId & 0x7FFF);

                ushort x = reader.ReadUInt16();
                item.X = (ushort)(x & 0x7FFF);

                ushort y = reader.ReadUInt16();
                item.Y = (ushort)(y & 0x3FFF);

                if ((x & 0x8000) != 0) {
                    byte direction = reader.ReadByte();
                }

                item.Z = reader.ReadSByte();

                if ((y & 0x8000) != 0) {
                    item.Color = reader.ReadUInt16();
                }

                if ((y & 0x4000) != 0) {
                    item.Flags = reader.ReadByte();
                }

                item.Detach();

#if WORLDDEBUG
                Trace.WriteLine(String.Format("Item updated ({0}).", item.Description), "World");
#endif
                if (isNew)
                    itemAdded.InvokeAsync(null, new ObjectChangedEventArgs(serial, ObjectChangeType.NewItem));

                ObjectChanged(serial, ObjectChangeType.ItemUpdated);
                itemUpdated.InvokeAsync(null, new ObjectChangedEventArgs(item.Serial, ObjectChangeType.ItemUpdated));

                return CallbackResult.Normal;
            }
        }


Look at it ... in 0x1A load item only with ID but in new packet (I don't know why) I must load almost whole packet and insert data to item before than add dynamic list of item.
hope it will help you, if not write me couse i had this problem yesterday and solved it so i can now log on kelevar with different external program i´m developing.

Edit : You are edited tiledata for new UO if injection working with?

Author:  Wondrash [ 2014-10-09 23:52:10 ]
Post subject:  Re: Yoko with client 7.0.35.6

Máš ode mě PM. / You´ve got a PM from me. :)

Author:  Wondrash [ 2014-10-10 01:57:39 ]
Post subject:  Re: Yoko with client 7.0.35.6

Still the same problem. From Venushja I received another version of Injection aka Injection_25_01_2014, I have a Injection_16_03_2014 version. When I try to use the older version with new injection.dll file posted here, the script.dll file didnt working. When i try script.dll file from newest version, problem with Type is back. :(

Thanks for your help!

W.

Author:  Venushja [ 2014-10-10 06:37:30 ]
Post subject:  Re: Yoko with client 7.0.35.6

Yeah I login 2 server with injection and I didn't have problem with type but tabpage Script not working (empty field) ...

Author:  Juicy Fruit [ 2014-10-10 08:20:25 ]
Post subject:  Re: Yoko with client 7.0.35.6

Track world items checkbox must be checked for correctly works of find commands.

Script.dll linked to injection.dll since last release of injection, because there are some specific features.

Author:  Venushja [ 2014-10-10 08:51:42 ]
Post subject:  Re: Yoko with client 7.0.35.6

But why I have empty field tabpage of script? And you release source code of new Injection?

Author:  Hypermangan [ 2014-10-10 09:35:36 ]
Post subject:  Re: Yoko with client 7.0.35.6

I used Venushja's injection.dll with newest version of injection (16_3_2014) and it runs. I checked Track world items and everything seems to be ok. I have no problem with use of types jet but I go test anymore. Thank you very much. I will report then if I find some problem.

Author:  Juicy Fruit [ 2014-10-10 09:41:52 ]
Post subject:  Re: Yoko with client 7.0.35.6

If you use old version of injection.dll – take the proper version of script.dll from archive with used injection.

You want inj source code?
You known C++? Injection.dll and Launcher written in RAD Studio 2010, script.dll – in C++ Builder 6.0 with synhl component for colored editor.

Author:  Juicy Fruit [ 2014-10-10 09:44:42 ]
Post subject:  Re: Yoko with client 7.0.35.6

Hypermangan wrote:
I used Venushja's injection.dll with newest version of injection (16_3_2014) and it runs. I checked Track world items and everything seems to be ok. I have no problem with use of types jet but I go test anymore. Thank you very much. I will report then if I find some problem.

^^
And Clear Memory checkbox must be unchecked. If checked – items (in containers) in inj memory may be lost.

Page 1 of 2 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/