Problem description:
For some reason loading characters has been weird lately.
Loading my character by using S["mob"]>>src has been making my src become null immediately after for some reason. Also, when I do things like set src=usr and a few more convoluted lines of code to fix this, it might work when clicking 'Run' in DM but then every time I click load while running a server in dream daemon, I consistently dc every time I try to load my character. I've been trying to fix this for weeks through debugging strategies via world.log and other means but have not been able to find the problem. Now it's back to not even working in DM because of all the changes I've tried in order to address the problem that happens when the server is up.
ID:2762244
Jan 19 2022, 11:36 pm
|
|
I'm afraid I don't really understand what you mean by that? "Main"? Outside call? And I don't understand the problem with setting source.
|
In response to KenryutoJr.
|
|
You are inside a object when using it as a ref to call a function...
vehicles One thing to do is use a global.LoadPlayer() proc/Load_Player(client/c) |
It still does not work even after revamping the load system that way. It works when running the game but again it does not work when I am hosting on dream daemon.
|
Can someone please help me fix this issue? I have no idea what is going on with my game and so I can't even bring up a server.
|
In response to KenryutoJr.
|
|
KenryutoJr. wrote:
Can someone please help me fix this issue? I have no idea what is going on with my game and so I can't even bring up a server. Would be much easier to see the issue at hand with some kind of code to go along with what you're needing help with code-wise. |
Have some other outside call to "main" the call of S["mob"] >> aguywhoneedsloaded. Which doesn't rely on the usr of the original function to be the mob prior to loading a new mob.