![]() |
So Close! - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Expired/Outdated Versions (/Forum-Expired-Outdated-Versions) +--- Forum: Sphere 51a Help (/Forum-Sphere-51a-Help) +--- Thread: So Close! (/Thread-So-Close) |
So Close! - x77x - 01-21-2017 08:31 AM im trying to make a message board that will log when a player logs in... im so close, the only problem is... the message memory item is added ingame as a visable item... Code: [6395] Code: ON=@LOGIN looking at the world file its looks correct but the problem is... the message memory item has to be under the message board in the worldfile save, because the message board is the container how can i get it to bounce to the message boards container properly, to work as an actual message board post? also P=x,x,x wheres this magic valt that all message board posts are saved at!? =) RE: So Close! - x77x - 01-21-2017 11:01 PM HOLY SHIT! you can drag the in game message item and drop it on the message board and it will add the message! what about FINDCONT ??? whats the proper way to use it? example? RE: So Close! - t9king - 01-23-2017 09:31 AM Hello, I am a novice, I also use sphere 51a But many problems do not understand, you can help me Email:t9king@163.com I have, but how to find a suitable for this sphere 51a Ultima Online RE: So Close! - Coruja - 01-23-2017 11:13 AM I never used this old bulletin board, but looking at the bulletin board code you can find some useful info this is what happens when the client send the packet 0x71 to create an new message on bulletin board: https://github.com/Sphereserver/Source/blob/8b1b2e64fc266eb87006e6beefa8c297f67c1c29/src/network/receive.cpp#L1188 basically the bulletin board is an virtual container. The bulletin board is the main container itself, and messages are itens inside this container. This packet just create the message item 0eb0, fill some info on this item, and bounce it inside the bulletin board container so translating this C++ code into sphere code it will be something like this Code: SERV.NEWITEM 0eb0 and since bulletin board is an container and you're using an custom container, maybe it will be a good idea set TDATA2=82 to make it open the bulletin board gump when you dclick on this "container" RE: So Close! - Anarch Cassius - 01-23-2017 12:06 PM And if that all seems weird, the bulletin board is one of the oldest built in systems that isn't super basic like skills or combat. IIRC it dates back to TUS before you could even call a custom targeting cursor in script. RE: So Close! - x77x - 01-26-2017 11:01 PM thats pretty much what i had, but i still need a way to bounce the item to the message board and make the ingame item go away =P |