Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Mex

#1
Several players are experiencing this issue, we will be looking into it sometime soon.
#2
Hi there, thanks for reporting the issue.

This appears to me to be an issue with GTA:Connected, and will hopefully be fixed soon.
#3
https://github.com/MexUK/Essentials">https://github.com/MexUK/Essentials[/url]



Commands:



GENERIC



/pos [player]

/rot [player]

/vehicleinfo [player]

/playermodel [player] [model]

/goto player

/get player

/interior [player] [interior]

/gravity [player] [level]

/id [player]

/health [player] [amount]

/armour [player] [amount]

/spawnhealth [amount]

/spawnarmour [amount]

/bleeding [player] [bool]

/falloffbike [player] [bool]

/crouch [player] [bool]

/mass [player] [player]

/vehiclehealth [player] [health]

/snow [bool]

/speed [player] [speed]

/commands

/whospawned

/whoinvehicle

/occupants [player]

/bulletproof [player] [bool]

/fireproof [player] [bool]

/explosionproof [player] [bool]

/collisionproof [player] [bool]

/meleeproof [player] [bool]

/vehiclemodel [player] [model]

/opengarage garage

/closegarage garage

/isgarageclosed garage

/time [time]

/hour [hour]

/minute [minute]

/second [second]

/kill

/killplayer [player]

/alladmin [level]

/bounds [bool]

/ping [target]

/game [target]

/gameversion [target]

/pointgunat [target]

/bigmessage player int int text

/pagermessage player int int int text

/smallmessage player int int text

/clearmessages [player]

/weather [weather]

/fix

/flip

/gotoposition x y z

/heading [target]

/velocity [x y z]

/turnvelocity [x y z]

/ground [target]

/damage [bool]

/eject [player]

/pingabove ping

/announce text

/calltaxi

/centerofmass [target]

/maxstamina [target] [stamina]

/maxhealth [target]

/entervehicle vehicleID [seat]

/exitvehicle

/weaponstate [target]

/warp [target] [vehicleID] [seat]

/walkstyle [walkStyleID]

/xoffset offset

/yoffset offset

/zoffset offset



WEAPONS



/weapon [player] [weapon] [ammunition]

/clearweapons [player]

/weapons [player]

/weaponall [weapon] [ammunition]



ELEMENTS



/maxplayers

/maxobjects

/maxvehicles

/maxpickups

/maxspheres

/maxpeds

/maxblips



/object [model] [type]

/vehicle [model]

/pickup [model] [type]

/sphere [size]

/ped [model]

/blip [model]



/players

/objects

/vehicles

/pickups

/spheres

/peds

/blips

/elements



/nearplayers

/nearobjects [radius]

/nearvehicles [radius]

/nearpickups [radius]

/nearspheres [radius]

/nearblips [radius]

/nearpeds [radius]



/removeobject objectID

/removevehicle vehicleID

/removepickup pickupID

/removesphere sphereID

/removeblip blipID

/removeped pedID



/isobjectonscreen objectID

/isvehicleonscreen vehicleID

/ispickuponscreen pickupID

/issphereonscreen sphereID

/ispedonscreen pedID

/isbliponscreen blipID



/objectids

/vehicleids

/pickupids

/sphereids

/pedids

/blipids



/clientids

/playerids

/playervehicleids



/objectdistance elementId

/vehicledistance elementId

/pickupdistance elementId

/spheredistance elementId

/peddistance elementId

/blipdistance elementId

/playerdistance [target]



/saveobject objectID

/savevehicle [vehicleID]

/savepickup pickupID

/savesphere sphereID

/saveped pedID

/saveblip blipID



/objectsyncers

/vehiclesyncers

/pickupsyncers

/spheresyncers

/pedsyncers

/blipsyncers



/objectdimensions

/vehicledimensions

/pickupdimensions

/spheredimensions

/peddimensions

/blipdimensions

/playerdimensions



/objectsyncer elenentID

/vehiclesyncer elenentID

/pickupsyncer elenentID

/spheresyncer elenentID

/pedsyncer elenentID

/blipsyncer elenentID



/gotoobject objectID

/gotovehicle vehicleID

/gotopickup pickupID

/gotosphere sphereID

/gotoped pedID

/gotoblip blipID



ADMIN



/level [player]

/admin



/commandlevel [command] [level]

/commandlevels



/disablecommand command

/enablecommand command

/disabledcommands



COMMAND ALIAS



/commandalias [command] [alias]

/removecommandalias [command]

/commandaliases



TELEPORT



/addteleport name

/removetelerport name

/teleports

/gototeleport name



KEYS



/key key [command] [...args]

/unkey key

/keys



ACCOUNT



/register password

/login password

/logout

/accounts



SPAWN



/spawns

/spawnids

/addspawn

/removespawn [spawnID]

/gotospawn spawnID

/savespawn spawnID



RESOURCE



/resources

/resourcenames

/startresource resource

/stopresource resource



MISSION



/mission missionId [player] [player] [player] [...]

/cancelmission

/onmission [target]
#4
Scripting Releases / [JS] MexUI
July 07, 2019, 03:01:25 AM
MexUI



A styleable UI system for input controls and windows.



https://github.com/MexUK/mexui">https://github.com/MexUK/mexui[/url]
#5
Testers / Re: Task List - General Ideas
November 27, 2018, 10:53:57 PM
Personally I believe modding the game should be optional and down to scripters/server-owners, I think this should be supported via scripting but not by default.
#6
We have them server-side, they are needed client-side.



onPedEnterVehicle(event, ped, vehicle, seat)

onPedExitVehicle(event, ped, vehicle)
#7
General Staff Chat / Server Checklist - All Versions
November 01, 2018, 01:07:56 AM
Server Checklist - All Versions



ensure symbols and other data is not in Release build mode



rename short function/variable names



triggerEvent function



player weapon system



vehicle respawn system



server bugs on mantis



--



Notes:



short function/variable names that need changing:



<Property Name="platform" ReadOnly="true" Type="string" />

<Property Name="world" ReadOnly="true" Type="Referenceable" />

<Function Name="message" Mask="s|i" RequiredArguments="1" />
#8
I've just noticed that this code depends on a string explode() function, I've added that to the first post in this thread.
#9
I've added some more items to the checklist.
#10
I've checked III, VC, SA, and SS dumpdoc but can't find taxiLight or setTaxiLight - I'll leave this one uncrossed out for now.
#11
Quote from: Vortrex post_id=191 time=1534112290 user_id=48
Quote from: Mex post_id=187 time=1533349539 user_id=78these cs methods/properties are on the cs wiki but are not in cs xml or cs/core code:

Vehicle::setCruiseSpeed

Vehicle::setDrivingStyle

Vehicle::setMission

Vehicle::setTaxiLight

Vehicle::wanderRandomly

These aren't in the XML because they only exist for GTA 3. There are other functions like this too. Launch GTA 3 from the launcher and /dumpdoc to see them.


Interesting, I see also that some GTA III specific functions have renamed, I've updated the wiki and the first post in this thread.  It still leaves setTaxiLight though which is on wiki but not in III VC or SA dumpdoc.


Quote from: Vortrex post_id=191 time=1534112290 user_id=48
Quote from: Mex post_id=187 time=1533349539 user_id=78automatic reconnect NEEDED Urgently!

I have added a reconnect option to the lobby menu. Not sure how else to do this with scripts. The only problem with an autoreconnect is if they intended on leaving the server (back to clientside) then it shouldn't force them to rejoin.


Okay, I'll check it out soon when I have time. It would probably still be good to have auto reconnect built in when reason for disconnect is timed out.
#12
General Checklist - Server and Client



---------------------------------------------------------------------------



ensure entity.heading takes degrees not radians, same with fetching the value - Jack confirmed we will use radians



we probably need a ELEMENT_CLIENT define - it currently doesn't exist server-side, probably not client-side either - skipped by Mex, because type Client does not inherit type Element.



Ensure that the "game" namespace is entirely removed]Server-Side[/i]

- game.createVehicle

 - game.createElement

 - game.getWorld

 - game.fadeCamera

 - game.createBlipAttachedTo
- namespace removed for these items by Vortrex

- World class is currently relative to game namespace - not sure what I (Mex) meant by this so I've crossed it off

Client-Side

 - game.game

 - game.width - also maybe change name to resolutionWidth

 - game.height - also maybe change name to resolutionHeight

 - game.aspectRatio

 - game.tickCount

 - game.timeStep

 - game.gameSpeed

 - game.isDirect3D9 - also maybe change name to direct3D9

 - game.rwRenderStateSet

 - game.createEffect

 - game.setEffect - also maybe change name

 - game.createRenderTarget

 - game.setRenderTarget

 - game.drawRectangle

 - game.time.hour

 - game.time.minute

 - game.time.second

 - game.weather.current

 - game.weather.snowing - also inconsistent name with isDirect3D9

 - game.weather.force

 - game.weather.forceSnowing

 - game.cutsceneMgr.time

 - game.cutsceneMgr.loadStatus

 - game.cutsceneMgr.finished

 - game.cutsceneMgr.load

 - game.cutsceneMgr.start

 - game.cutsceneMgr.stop

 - game.messages.clear

 - game.messages.addJumpQ
- the game namespace has been removed from all of these scripting items by Mex



Server.xml config file: - Mex: I've added the missing items to the wiki server config page and also to the default server xml on dropbox.



- Setting maxplayers default is now 256 not 128, the config file needs updating. - the config file has been updated and placed on dropbox in a new folder

- Is range of processinterval really 0-65535 as mentioned in the config file.  - yes

- Is range of syncinterval really 0-65535 as mentioned in the config file. - yes

- Does setting streamindistance still exist? Because it is in the server.xml config file but not in the c++ config loader. - Found in c++.

- Does setting streamoutdistance still exist? Because it is in the server.xml config file but not in the c++ config loader. - Found in c++.

- Does setting pickupstreamindistance still exist? Because it is in the server.xml config file but not in the c++ config loader. - Found in c++.

- Does setting pickupstreamoutdistance still exist? Because it is in the server.xml config file but not in the c++ config loader. - Found in c++.

- Does setting games still exist? Because it is in the server.xml config file but not in the c++ config loader. - Found in c++.

- Does setting planes still exist? Because it is in the server.xml config file but not in the c++ config loader. - Found in c++.

- Does setting trains still exist? Because it is in the server.xml config file but not in the c++ config loader. - Found in c++.

- Does setting encryption still exist? Because it is in the c++ config loader, but not in the server.xml config file. - Found in c++.

- Does setting duplicatenames still exist? Because it is in the c++ config loader, but not in the server.xml config file. - Found in c++.





cs getScreenFromWorldPosition should probably return a Vec2 not a Vec3 - 2d has depth, so returning a Vec3 makes sense



Vehicle::setCarCruiseSpeed - realised now that this is GTA III only

Vehicle::setCarMission - realised now that this is GTA III only

Vehicle::carWanderRandomly - realised now that this is GTA III only

Vehicle::setDrivingStyle - realised now that this is GTA III only



Function setInterval only calls it's callback once - tested client-side - Already working, my bad. I had documented it incorrectly on the wiki, which is fixed now.



Add createBlah functions for other entities:

- createElement - cs - Added by Mex

- createSphere - ss - Added by Mex

- createObject - ss - Added by Mex

- createPickup - ss - Added by Mex

- createBlip - ss - Added by Mex

- createBuilding - ss - Added by Mex

- createPlayer - ss - Added by Mex

- createCivilian - ss - Added by Mex



- cs getWorldFromScreenPosition should probably take a Vec2 not a Vec3 - Skipped because screen pos has depth.



Add onResourceReady server-side too. - Skipped by Jack and Mex, because this refers to network transfer only.









ss global func spawnPlayer should probably be a method named Player::spawn instead - Edit by Mex: Jack will look into this, and has said that player spawning should probably only be done server-side. There is currently a Player::spawn or spawnPlayer for both ss and cs.



Server crashes on close - right click close on taskbar app icon - probably caused by the world:forceWeather method

Fixed (Vortrex)



Decide if we need, and maybe implement, Automatic reconnect on timeout.

I don't think this is a good idea. In fact, I don't want people auto-reconnecting if they got kicked or banned (Vortrex)



Fix inconsistency of these event names or perhaps improve them if they are consistent: onPostRender2D, onPreRender, onRender, onRender2D



Vector Parameters:

 - cs findGroundZForCoord should probably take a Vec2 instead of 2 floats (x and y)

 - cs Vehicle::driveTo should probably take a Vec3 instead of float,float,float



these cs methods/properties are on the cs wiki but are not in cs xml or cs/core code:

Vehicle::setTaxiLight or Vehicle::taxiLight



Item Naming:

- ss forceWeather inconsistent function name with cs weather.force



------------------------------------------------------------------------------------------------------



[Post Edited]

More checklist items added on 14th August 2018:



Add these MAX_* defines:



MAX_ELEMENTS

MAX_ENTITIES

MAX_PHYSICALS

MAX_TRANSFORMABLES



MAX_BLIPS

MAX_BUILDINGS

MAX_CIVILIANS - removed soon

MAX_MARKERS

MAX_OBJECTS

MAX_PEDS - exists cs

MAX_PICKUPS

MAX_PLAYERS

MAX_VEHICLES - exists cs



MAX_CHAT_MESSAGE_CHARACTERS

MAX_CHAT_MESSAGES - cs only

MAX_CHAT_HISTORY - cs only

MAX_PLAYER_NAME_CHARACTERS

MAX_PATH - os specific possibly

MAX_WEAPON_SLOTS

MAX_VEHICLE_PASSENGERS

MAX_PLAYER_WANTED_LEVEL

MAX_PLAYER_HEALTH

MAX_PLAYER_ARMOUR



MAX_SCRIPTS - unless using std::vector or something

MAX_EVENT - unless using std::vector or something

MAX_EVENT_CALLBACKS - unless using std::vector or something





MAX_ defines - needed server side too

MAX_ defines - other entities needed, like garages and objects

_GARAGE defines - switch naming to GARAGE_ for consistency



/q, or exit game in menu, it currently doesn't end the game process or re-display the launcher window



[ (square bracket) text bug in chat - found by Vortrex

Last time I checked, this was fixed (Vortrex)



changing san andreas resolution doesn't save after game close



server version column for server list in client launcher



version number in server console's window title bar - i.e. 1.0.72 etc



setTrainsEnabled probably shouldnt exist as a scripting function for VC, as no trains are in VC.



audio.createSound - should probably be named createSound instead - Edit by Mex: Jack has said he will likely delete the whole audio thing for now.



------------------------------------------------------------------------------------------------------



[Post Edited]

More checklist items added on 16th August 2018:



this server-side code causes a server crash:

addCommandHandler('t', function(cmd,args,client)

   httpGet('http://www.google.com">http://www.google.com[/url]', '', function() end, function(data)

   end)

end)



Function outputChatBox should have optional colour parameter. Edit by Mex: Jack has said that this function will probably be renamed, and that it can have an optional colour parameter too in one of the new signatures/functions for it.

This has been renamed to message or messageClient, and accepts a colour arg (Vortrex)



Vortrex: I noticed that using vehicle.engine turns off the engine but the car is still driveable.



------------------------------------------------------------------------------------------------------



[Post Edited]

More checklist items added on 18th August 2018:



rename civilian stuff to ped or something else



add missing global functions to fetch multiple elements, both server-side and client-side:

- getElements

- getSpheres

- getObjects

- getPickups

- getBlips

- getBuildings

- getPlayers

- getCivilians
#13
General Chat / Re: Questions
July 16, 2018, 11:59:13 PM
Eventually will probably come a point in the mod where if something is needed, it will be added.
#14
General / New Testing Structure
May 17, 2018, 02:17:12 AM
The new testing structure has 3 stages.



Stage 1 - Role "Developer" makes a new post on the forum, with a new build and a list of scripting functionality that needs testing.

Stage 2 - Role "Scripter" creates a basic test script to allow role "Tester" to test the functionality in game with commands.

Stage 3 - Role "Tester" installs the script and tests the functionality in game by typing commands, using multiple players for testing if needed.



This should involve the team more with the project, and allows developers to work on more stuff.
#15
the nodes folder goes in same folder as server.lua

it just loads the path data

it doesnt put peds on paths