when I change the color, other people can't see it, and after the teleport, the color disappears,
Can you explain why?
I know that
give to you this
you need create map
change
PHP Code:
if (obj->GetName() == g_pCICPlayer->GetName()) {
entity = obj;
if (entity)
to
PHP Code:
it = TitleColors.find(obj->GetName().c_str());
if (it != TitleColors.end())
Quote:
Originally Posted by florian0
My post did not contain the solution. I only showed whats wrong. The whole call destination is wrong in the first place. You can only "call" to the first address of a function, not in between. You can call UpdateColor directly. It is meant to change the text color of the entity name. In order to call that, you need to get the address of the entity. For your own player, its 0x00EEF5EC. You need to find the addresses of other players if you want to change other player's color aswell. HB gave the hint to hook CICPlayer::OnRender, which is at 0x009D87C0.
when I change the color, other people can't see it, and after the teleport, the color disappears,
Can you explain why?
for this, you must also need a filter to handle this for you. Sro_devkit just changes the visual only. You have to use a filter or using sro_devkit to send an title update packet to all the the players near your character. Also the title name must exists in the DB and client data.
And after send the packet, update the Hwanlevel number in _char DB so that will not change when you teleported your character.
for this, you must also need a filter to handle this for you. Sro_devkit just changes the visual only. You have to use a filter or using sro_devkit to send an title update packet to all the the players near your character. Also the title name must exists in the DB and client data.
And after send the packet, update the Hwanlevel number in _char DB so that will not change when you teleported your character.
what you said is for title level change. What I need is color change
Hiho,
did you try following the setup guide in the documentation? If yes, how far have you got. Which part are you having trouble with?
If not, please do.
[Source] Fix the old exp bar - by writing code! 05/17/2020 - SRO PServer Guides & Releases - 18 Replies Hello beloved, dead community,
its time for another release. Its more of a proof of concept and I hope it might inspire people to continue working on it. You don't need the source to accomplish cool things. Just write your own source.
http://i.epvpimg.com/d7hJbab.png
Ye, its super ugly looking. I choose to be a coder, not a designer. I'd be happy, if someone supplies me a proper version of the 2dt and ddj files so I can update this embarrassing screenshot.
Anyway. It allows you to...
[Release/WIP]EP6 Source code 04/15/2018 - Shaiya PServer Guides & Releases - 33 Replies Hi guys,
First of all, I want to say that this release is not recommended for public servers yet. Shortly ago I changed my server to ep6 using shen1l's pet.dll, the server crashed every day, after checking the dump files I discovered that the problem was in pet.dll, but without the source code it would be harder to find the cause of the problem. So I decided to start a project and release the source code for everyone, so that everyone can solve their problems more easily, and also so that...
[C++ Source] My Free Farm Bot [WIP] 06/28/2011 - Browsergames - 0 Replies I decided to release this on here as i have no more use for it and no intention to continue the project.
I am releasing 2 projects: One basic library for mff called libmff(although it is not really a library) there is an example on how to use it in the package.
And a helper with a fancy gui.
Note that there is almost no error checking on the helper and that it crashes if you for example forget to select a product.
You need libcurl and boost for both and GWEN(the gui toolkit by garry) for...