DB Vehicle Hitpoint Fix For Pwnoz0r Server Package

shinkicker

Administrator
Staff member
ok, I actually tested the code.

Pwnoz0r, your new commit (I think f0rts) is still failing.

I swapped it with alby's code and now it works.
 

Pwn

Administrator
Staff member
ok, I actually tested the code.

Pwnoz0r, your new commit (I think f0rts) is still failing.

I swapped it with alby's code and now it works.
My newest commit has the fix inside of it...

EDIT: I lied, now the newest commit has the fix inside. :(
 

Alby

Moderator
I'm happy with the credit already given. Do not need to do it again just cause of a silly mistake.
 

shinkicker

Administrator
Staff member
Just noted the 'Instance' is hard coded:

Code:
INSERT INTO object_data (ObjectUID, Instance, Classname, Damage, CharacterID, Worldspace, Inventory, Hitpoints, Fuel, Datestamp)
        SELECT ot.ObjectUID, '1', ot.Classname, ot.Damage, '0', ot.Worldspace, '[]', ot.Hitpoints, '0.01', SYSDATE()
            FROM (SELECT oc.Classname, oc.Chance, oc.MaxNum, oc.Damage, oc.Hitpoints, os.ObjectUID, os.Worldspace
Has it always been that way?
 
Top