• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[SOLVED] Phase System

Status
Not open for further replies.

Toxicwaste

Enthusiast
\\ Dear Community.

Today, I've returned to the community. Anyways, I've been having trouble with a C++ Phase System Script. I was wondering if any of you would help.

Here is the script: (Im using)
C++: http://pastebin.com/BnA4Nyb9
SQL: http://pastebin.com/uuYBr8yN

I've spoken to a great c++ developer and he told me that i should post it here since there are better devs than any emulation website.
However, This script does work. But the thing i have trouble doing is. I want it for a ALL-GM Server. Which means I want each player on that server to have the phase system allowed. But here is the problem: There are some items you can see from another acount.

Heres what I want but I can't do.

Is it possible to make every player who spawns a npcs or object not to be seen by anyone else? Expect him or atleast .app But that other member can't spawn in another persons phase.
 

Rochet2

Moderator / Eluna Dev
you should be able to edit WorldObject::CanNeverSee or the function that calls that to edit the visibility.
You can basically do any visibility limitation there since the phasing is already handled by that, which means that adding your own stuff like phasing would allow similar functionality to phasing (cant attack, cant see, cant interact).
 

Toxicwaste

Enthusiast
you should be able to edit WorldObject::CanNeverSee or the function that calls that to edit the visibility.
You can basically do any visibility limitation there since the phasing is already handled by that, which means that adding your own stuff like phasing would allow similar functionality to phasing (cant attack, cant see, cant interact).

you should be able to edit WorldObject::CanNeverSee or the function that calls that to edit the visibility.
^ Thats all I need to do?
 

Toxicwaste

Enthusiast
you should be able to edit WorldObject::CanNeverSee or the function that calls that to edit the visibility.
You can basically do any visibility limitation there since the phasing is already handled by that, which means that adding your own stuff like phasing would allow similar functionality to phasing (cant attack, cant see, cant interact).

I've never written phase system scripts before. Thats the problem. So I got no idea where to edit. However, I'll be talking to Rochet on skype to get a solution! Also I'll be looking here.
 
Status
Not open for further replies.
Top