Author Topic: Script Error  (Read 1722 times)

Well, i'm not sure if this goes here, but i have a problem.

There is something what makes people crash when i press them with this mod:

http://www.mediafire.com/?9ywhb2n6g1km39n

Its called the throwmod. If you press a player, you carry him, and you press again, you'll release him.

Something makes it to crash the player when clicking him, and it worked perfectly on V19.

So please, spot the error from the script, if you can.

I remember making this script really long ago. I think I'll probably just redo the entire system, I wasn't exactly that good at scripting back then.

I remember making this script really long ago. I think I'll probably just redo the entire system, I wasn't exactly that good at scripting back then.

You made this? Really? I sure believe that, but why is the author Nobot?

Code: [Select]
   if(%col.client.bl_id $= 666)
    {
        %col.client.unholdable = 1;
        %col.isHeld = 0;
        %col.canDismount = 1;
        return 0;
    }

Has it really become a thing that people hardcode these kinds of things in to their scripts? Back in my day we just used isSuperAdmin or whatnot.

You made this? Really? I sure believe that, but why is the author Nobot?

That's because description.txt files can be edited.

That's because description.txt files can be edited.

Are you responsible for the exploit?


What exploit?

The bl_id exploit. At least, I consider it an exploit.

The bl_id exploit. At least, I consider it an exploit.

No, I didn't add that. I don't even see the point of it, since (nearly) nobody has ID 666.

Code: [Select]
   if(%col.client.bl_id $= 666)
    {
        %col.client.unholdable = 1;
        %col.isHeld = 0;
        %col.canDismount = 1;
        return 0;
    }

Has it really become a thing that people hardcode these kinds of things in to their scripts? Back in my day we just used isSuperAdmin or whatnot.

Well is that the problem? If it is, can you fix it?

Well is that the problem? If it is, can you fix it?
No, that shouldn't cause an error

No, that shouldn't cause an error

Well what then? Did something in the coding change at the update?


Do you or the player(s) you grab get any complaining from the console?

First, Get throw mod off these forums NOW

Second, I host throw mod quite often, and I have no problems with crashing. Try updating software.