Major Server Update Released (April 25)

Doom_Kill3R

  • VC:MP Beta Tester
  • Infinite loops defy infinity by overflowing memory
  • Posts: 1,104
Re: Major Server Update Released (April 25)
« Reply #15, on April 26th, 2016, 04:32 AM »
The problem is fixed, client-sided scripts need to go at:

store/script/

This was found by Drake. Now a recommendation that you should compile your client scripts before using them on public server of yours in-order to avoid script stealing.

Milos

  • Jr. Member
  • Posts: 83

KAKAN

  • Wiki Contributor
  • Posts: 3,346
Re: Major Server Update Released (April 25)
« Reply #17, on April 26th, 2016, 04:40 AM »
they need to update the plugin's SDK or API, whatever it is, to support the latest version. Though, I believe that @maxorator will do it.
You can contact me using Discord, at Developers.CPP( check off-board to find the invite link )
Github: https://github.com/theKAKAN

Derwaish.

  • Jr. Member
  • Loading.....
  • Posts: 76

Milos

  • Jr. Member
  • Posts: 83

Thijn

  • VC:MP Beta Tester
  • Posts: 1,689

Anik

  • Sr. Member
  • Posts: 355
Re: Major Server Update Released (April 25)
« Reply #21, on April 26th, 2016, 07:57 AM »
Plugin error >> 'plugins/geoip04rel32.dll' plugin is for incompatible API version 0.0 (current is 2.0).
Loaded plugin: geoip04rel32

Loaded plugin: xmlconf04rel32

Plugin error >> 'plugins/sqlite-win32.dll' plugin is for incompatible API version 0.0 (current is 2.0).
Loaded plugin: sqlite-win32

Loaded plugin: squirrel04rel32

announcer: Verbosity enabled
Loaded plugin: announce04rel32

Plugin error >> 'plugins/HashLoader32.dll' plugin is for incompatible API version 0.0 (current is 2.0).
Loaded plugin: HashLoader32

Loaded plugin: sqlite04rel32

Loaded plugin: sockets04rel32

Loaded plugin: mysql04rel32

AN ERROR HAS OCCURED [the index 'CreateSphere' does not exist]

CALLSTACK
*FUNCTION [onScriptLoad()] Main.nut line [171]

LOCALS
[this] TABLE
[WARNING] onScriptLoad failed to execute -- check the console for more details.
announcer: Thread created, ready to announce.
Plugin error >> 'plugins/ini04rel32.dll' plugin is for incompatible API version 0.0 (current is 2.0).

rww

  • VC:MP Beta Tester
  • LU-DM Team
  • Posts: 388

maxorator

  • VC:MP Developer
  • Posts: 153
Re: Major Server Update Released (April 25)
« Reply #23, on April 26th, 2016, 09:13 AM »
Quote from Anik on April 26th, 2016, 07:57 AM
Plugin error >> 'plugins/geoip04rel32.dll' plugin is for incompatible API version 0.0 (current is 2.0).
Loaded plugin: geoip04rel32

Plugin error >> 'plugins/sqlite-win32.dll' plugin is for incompatible API version 0.0 (current is 2.0).
Loaded plugin: sqlite-win32

Plugin error >> 'plugins/HashLoader32.dll' plugin is for incompatible API version 0.0 (current is 2.0).
Loaded plugin: HashLoader32
Any plugins that were not updated for this version will not work.
Quote from Anik on April 26th, 2016, 07:57 AM
AN ERROR HAS OCCURED [the index 'CreateSphere' does not exist]
Sphere functions were removed. You can create spheres with CreateCheckpoint. Check the 3rd reply to this topic which contains the changed function pattern.

.

  • VC:MP Beta Tester
  • .
  • Posts: 1,804
Re: Major Server Update Released (April 25)
« Reply #24, on April 26th, 2016, 09:42 AM »Last edited on April 26th, 2016, 11:54 AM
Quote from Doom_Kill3R on April 26th, 2016, 04:32 AM
This was found by Drake. Now a recommendation that you should compile your client scripts before using them on public server of yours in-order to avoid script stealing.
You can't compile the scripts on an x64 server and then execute them on an x32 client. Squirrel fails at that. If you have an x32 server then you can compile the scripts and save the bytecode to a temporary file, then read the bytecode and stream it to the client where you can write it to a temporary file on the client and and execute the bytecode there. (read more)

Although that workaround should only work if the server is x32. And if the devs haven't disabled the IO from the standard library as a precaution.
.

Stormeus

  • VC:MP Developer
  • oh god how did i get here im not good w computer
  • Posts: 1,128
Re: Major Server Update Released (April 25)
« Reply #25, on April 26th, 2016, 09:43 AM »
Quote from . on April 26th, 2016, 09:42 AM
Although that workaround should only work if the server is x32. And if the devs haven't disabled the IO from the standard library as a precaution.
We disabled the I/O and system libraries on the client side for obvious reasons. We still provide our own in-house version of dofile() that's limited to scripts in store/script/.

.

  • VC:MP Beta Tester
  • .
  • Posts: 1,804
Re: Major Server Update Released (April 25)
« Reply #26, on April 26th, 2016, 09:45 AM »
Quote from Stormeus on April 26th, 2016, 09:43 AM
We disabled the I/O and system libraries on the client side for obvious reasons. We still provide our own in-house version of dofile() that's limited to scripts in store/script/.
I would've been disappointed if you hadn't done that :P.
.

Xmair

  • Wiki Contributor
  • Posts: 874
VU Full Member | VCCNR Developer | KTB Developer | EAD Ex-Scripter

Derwaish.

  • Jr. Member
  • Loading.....
  • Posts: 76

Stormeus

  • VC:MP Developer
  • oh god how did i get here im not good w computer
  • Posts: 1,128