All public logs
Jump to navigation
Jump to search
Combined display of all available logs of NPC for VCMP 0.4 Servers. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
(newest | oldest) View (newer 50 | older 50) (20 | 50 | 100 | 250 | 500)- 09:06, 14 November 2023 Habi talk contribs created page OnObjectUpdate (Created page with "{{Welcome|desc=Called when one of object's position, rotation, alpha is updated or it is moved.| params=<source>( objectId, updatetype)</source> <poem>::objectId : The ID of the object ::updatetype : See below <source>( AlphaUpdate=0, PositionUpdate=1, RotationToUpdate=2, MoveToUpdate=3, TrackingBumpsShots=4)</source> </poem>| relfuncs=*OnObjectDestroyed *OnObjectUpdate *IsObjectStreamedIn }}")
- 08:57, 14 November 2023 Habi talk contribs created page OnObjectDestroyed (Created page with "{{Welcome|desc=Called when an object is destroyed/streamed out. | params=<source>( objectId )</source> <poem>::objectId : The ID of the object </poem>| example=<source lang="lua"> function OnObjectDestroyed(objectId) { SendChat("Where did object" + objectId + "go"); } </source>| relfuncs=*OnObjectStreamIn *OnObjectUpdate *IsObjectStreamedIn *SendChat }}")
- 08:48, 14 November 2023 Habi talk contribs created page OnObjectStreamIn (Created page with "{{Welcome|desc=Called when an object is streamed in for npc. | params=<source>( objectId )</source> <poem>::objectId : The ID of the object </poem>| relfuncs=*OnObjectDestroyed *OnObjectUpdate *IsObjectStreamedIn }}")
- 15:37, 12 November 2023 Habi talk contribs created page GetCheckpointColor (Created page with "{{Welcome|desc=Gets the colour(r,g,b,a) of a checkpoint as a table. | params=<source>( checkpointId )</source> <poem>checkpointId : The ID of the checkpoint whose colour is to be obtained. </poem>| example=<source lang="lua"> if(IsCheckpointStreamedIn(checkpointId)) { local color=GetCheckpointColor(checkpointId); print("r: "+color.r+", g: "+color.g+ ", "b: "+color.b+", a: "+color.a+"\n"); } </source>| relfuncs=*GetCheckpointPos *GetCheckpointRadius *IsCheckpoin...")
- 15:31, 12 November 2023 Habi talk contribs created page OnCheckpointUpdate (Created page with "{{Welcome|desc=Called when a checkpoint is updated by server. | params=<source>( checkpointId, updatetype )</source> <poem>checkpointId : The ID of the checkpoint which was updated. updatetype : 0 for radius, 1 for position and 2 for colour update. </poem>| example=<source lang="lua"> function OnCheckpointUpdate(checkpointId, updatetype) { } </source>| relfuncs=*OnCheckpointDestroyed *OnCheckpointStreamIn *IsCheckpointStreamedIn *ClaimEnterCheckpoint *C...")
- 15:24, 12 November 2023 Habi talk contribs created page OnCheckpointDestroyed (Created page with "{{Welcome|desc=Called when a checkpoint is destroyed/StreamOut. Server sends this also when npc is far away(stream out) from checkpoint. params=<source>( checkpointId )</source> <poem>checkpointId : The ID of the checkpoint destroyed/streamedout. </poem>| example=<source lang="lua"> function OnCheckpointDestroyed(checkpointId) { print("The checkpoint "+ checkpointId+ " is destroyed! ); } </source>| relfuncs=*OnCheckpointStreamIn *OnCheckpointUpdate *IsCheckpoi...")
- 15:12, 12 November 2023 Habi talk contribs created page OnCheckpointStreamIn (Created page with "{{Welcome|desc=Called when a checkpoint is streamed in for npc. | params=<source>( checkpointId )</source> <poem>checkpointId : The ID of the streamed in checkpoint. </poem>| example=<source lang="lua"> function OnCheckpointStreamIn(checkpointId) { print("I see checkpoint with ID: "+ checkpointId); } </source>| relfuncs=*OnCheckpointDestroyed *OnCheckpointUpdate *IsCheckpointStreamedIn *ClaimEnterCheckpoint *ClaimExitCheckpoint }}")
- 09:47, 12 November 2023 Habi talk contribs created page GetCheckpointRadius (Created page with "{{Welcome|desc= Returns the radius of a checkpoint.| params=<source>( checkpointId )</source> <poem>checkpointId : The ID of the checkpoint whose radius is to be obtained. </poem>| retvals=The radius of checkpoint as float. Throws error if checkpoint with the specified ID is not found.| example=<source lang relfuncs=*GetCheckpointColor *GetCheckpointPos *GetCheckpointCount *ClaimEnterCheckpoint }}")
- 09:44, 12 November 2023 Habi talk contribs created page GetCheckpointPos (Created page with "{{Welcome|desc= Returns the position of the checkpoint.| params=<source>( checkpointId )</source> <poem>objectId : The ID of the checkpoint whose position is to be obtained. </poem>| retvals=The position of checkpoint as Vector. Throws error if checkpoint with the specified ID is not found.| relfuncs=*GetCheckpointColor *GetCheckpointRadius *GetCheckpointCount *ClaimEnterCheckpoint }}")
- 09:27, 12 November 2023 Habi talk contribs created page IsObjectTouchReportEnabled (Created page with "{{Welcome|desc=Tells whether Touch Report is enabled for a particular object.| params=<source>( objectId )</source> <poem>objectId : The ID of the object whose property is to be checked. </poem>| example=<source lang="lua"> if( IsObjectStreamedIn( objectId ) && IsObjectTouchReportEnabled( objectId )) { ClaimObjectTouch( objectId ); } </source>| retvals= true if property is enabled, false otherwise. Throws error on invalid object ID.| relfuncs=*ClaimObjectTouch *IsO...")
- 09:20, 12 November 2023 Habi talk contribs created page IsObjectShotReportEnabled (Created page with "{{Welcome|desc=Tells whether Shot Report is enabled for a particular object.| params=<source>( objectId )</source> <poem>objectId : The ID of the object whose property is to be checked. </poem>| example=<source lang="lua"> if( IsObjectShotReportEnabled( objectId ) ) { ClaimObjectShot( objectId, 17 ); //17 is weapon. } </source>| relfuncs=*ClaimObjectShot *IsObjectTouchReportEnabled }}")
- 09:10, 12 November 2023 Habi talk contribs created page OnPickupDestroyed (Created page with "{{Welcome|desc=Called when a pickup destroyed. This happens also when the pickup is streamed out.| params=<source>( pickupId)</source> <poem>pickupId : The ID of the pickup which was destroyed. </poem>| relfuncs=*OnPickupStreamIn *OnPickupUpdate *IsPickupStreamedIn }}")
- 07:49, 11 November 2023 Habi talk contribs created page IsObjectStreamedIn (Created page with "{{Welcome| desc=Checks whether an object is streamed in for npc. params=<syntaxhighlight lang="lua">( objectId)</syntaxhighlight> <poem>::objectid : The ID of the object </poem>| retvals=true if the object is streamed in, false otherwise(invalid id/not streamed in)| relfuncs=*IsCheckpointStreamedIn *IsPickupStreamedIn *GetObjectPos }}")
- 06:24, 9 November 2023 Habi talk contribs moved page IsCheckpointStreamIn to IsCheckpointStreamedIn
- 06:21, 9 November 2023 Habi talk contribs created page IsCheckpointStreamIn (Created page with "{{Welcome| desc=Checks whether a checkpoint id is streamed in. If it is streamed in, then the checkpoint id is valid.| params=<syntaxhighlight lang="lua">( checkpointId )</syntaxhighlight> <poem>::checkpointId : The ID of the checkpoint. </poem>| retvals=true if the checkpoint is streamed in, false otherwise(invalid id/not streamed in)| relfuncs=*GetVehicleSpeed }}")
- 06:15, 9 November 2023 Habi talk contribs created page IsCheckpointSphere (Created page with "{{Welcome| desc=Checks whether a checkpoint is sphere or not.| params=<syntaxhighlight lang="lua">( checkpointId )</syntaxhighlight> <poem>::checkpointId : The ID of the target checkpoint whose shape is to be determined. </poem>| retvals=true if the checkpoint is sphere, false otherwise. This function throws error if invalid checkpointId is given.| example=<source lang="lua"> if(IsCheckpointStreamIn(checkpointId)) { local isSphere=IsCheckpointSphere(checkpointId); }| rel...")
- 06:05, 9 November 2023 Habi talk contribs created page GetPlayerAction (Created page with "{{Welcome| desc=This will return the action of the a player.| params=<syntaxhighlight lang="lua">( playerId)</syntaxhighlight> <poem>::playerId: The ID of the player whose action is to be obtained. </poem>| retvals=The action of player as integer. If the target player does not exist, it will return 0.| relfuncs=*GetPlayerState *GetPlayerKeys }}")
- 13:17, 8 November 2023 Habi talk contribs created page GetPlayerSpeed (Created page with "{{Welcome| desc=This will return the speed of the specified player, if that player is onfoot.| params=<syntaxhighlight lang="lua">( playerId)</syntaxhighlight> <poem>::playerId: The ID of the player whose speed is to be obtained. </poem>| retvals=The speed of player as Vector or zero vector on error(player not connected).| relfuncs=*GetVehicleSpeed }}")
- 12:13, 8 November 2023 Habi talk contribs created page OnTimeWeatherSync (Created page with "{{Welcome|desc=This function is called when time and weather details are send by server.| params=<source>( timerate, minute, hour, weather )</source> <poem>timerate : The timerate. minute : The minute. hour : The hour. weather : Current weather. </poem>| relfuncs=*OnServerShareTick }}")
- 11:07, 8 November 2023 Habi talk contribs created page OnPickupUpdate (Created page with "{{Welcome|desc=Called when a streamed in pickup is updated. | params=<source>( pickupId, updateType )</source> <poem>pickupId : The ID of the pickup. updateType : 0 for change in pickup's alpha component, 1 for change in position and 2 for refresh/respwan. </poem>| relfuncs=*OnPickupStreamedIn *OnCheckpointUpdate *OnObjectUpdate }}")
- 10:56, 8 November 2023 Habi talk contribs created page OnPickupStreamIn (Created page with "{{Welcome|desc=Called when a pickup is streamed in for npc. | params=<source>( pickupId)</source> <poem>pickupId : The ID of the streamed in pickup. </poem>| relfuncs=*OnPickupDestroyed *OnPickupUpdate *OnObjectStreamIn *OnCheckpointStreamIn }}")
- 12:49, 7 November 2023 Habi talk contribs created page ClaimObjectShot (Created page with "{{Welcome|desc=Sends a object shot packet to server, so that the object shot is registered.|params=<source>( objectId, weaponId )</source><poem> objectId : The ID of the target object. weaponId : The weapon with which object shot to be registered. </poem>| retvals=true if the object is streamed in, false otherwise | relfuncs=*ClaimObjectShot *IsObjectStreamedIn *GetObjectModel *OnObjectUpdate *OnObjectStreamIn *IsObjectTouchReportEnabled }}")
- 12:46, 7 November 2023 Habi talk contribs created page ClaimObjectTouch (Created page with "{{Welcome|desc=Sends a object touch packet to server, so that the object touch is registered.|params=<source>( objectId )</source><poem> objectId : The ID of the target object. </poem>| retvals=true if the object is streamed in, false otherwise | relfuncs=*ClaimObjectShot *IsObjectStreamedIn *GetObjectModel *OnObjectUpdate *OnObjectStreamIn }}")
- 12:06, 7 November 2023 Habi talk contribs created page ClaimExitCheckpoint (Created page with "{{Welcome|desc=Sends a checkpoint exited packet to server|params=<source lang="luq">(checkpointId)</source><poem> checkpointId : The ID of the target checkpoint. </poem>| retvals=true, if checkpointId was valid(streamed in), false otherwise. | relfuncs= *ClaimEnterCheckpoint}}")
- 11:56, 7 November 2023 Habi talk contribs created page ClaimEnterCheckpoint (Created page with "{{Welcome|desc=Sends a checkpoint entered packet to server|params=<source lang="luq">(checkpointId)</source><poem> checkpointId : The ID of the target checkpoint. </poem>}}")
- 15:46, 19 October 2023 Habi talk contribs created page File:Export-excel.png
- 15:46, 19 October 2023 Habi talk contribs uploaded File:Export-excel.png
- 15:45, 19 October 2023 Habi talk contribs created page File:Menu.png
- 15:45, 19 October 2023 Habi talk contribs uploaded File:Menu.png
- 15:44, 19 October 2023 Habi talk contribs created page File:RecEdit.png
- 15:43, 19 October 2023 Habi talk contribs uploaded File:RecEdit.png
- 14:46, 13 October 2023 Habi talk contribs created page Recupdate (Created page with "This is a tool to upgrade playback files created by older versions of npc04relxx plugin, so that they are playable in current version of npcclient. When this page is created,.rec files version must be 4 or upgraded to 4. (1004) in .rec file header. {| class="wikitable" ! Download Link !! Description !! Info |- | [https://sourceforge.net/projects/npc-for-vcmp/files/recupdate_windows_v4.0.zip/download recupdate_windows_v4.0.zip] || Convert .rec files to v4 || recup...")
- 16:45, 7 October 2023 Habi talk contribs created page V1 7 beta3 release notes (Created page with "<poem style="border: 2px solid #d6d2c5; background-color: #ffdb99; padding: 1em;"> '''Version 1.7 beta 3''' Release date: 07.October.2023 </poem> ==What is new== * Fixed npc getting kicked when adding armour, health or weapon from serverside ==Plugins included with downloads== *LibAction *LibRPC *z-finder ==Downloads== <poem style="border: 2px solid #7EACB8; background-color: #F6D5C1; padding: 1em;"> '''Version Information''' The version for .rec files is...")
- 06:01, 28 August 2023 Habi talk contribs created page V1 7 beta2 release notes (Created page with "{| class="wikitable" |- ! Operating system !! Version !! Link |- | Windows || v1.7-beta2 || [https://sourceforge.net/projects/npc-for-vcmp/files/npc_vcmp_rel006_windows_v1.7-beta2.zip/download npc_vcmp_rel006_windows_v1.7-beta2.zip] |- | Linux x64 || v1.7-beta2 || [https://sourceforge.net/projects/npc-for-vcmp/files/npc_vcmp_rel006_linux_x64_v1.7-beta2.zip/download npc_vcmp_rel006_linux_x64_v1.7-beta2.zip] |- | Linux x86 || v1.7-beta2 || [https://sourceforge.net/projects...")
- 05:27, 28 August 2023 Habi talk contribs created page Bug List One (Created page with "This is the list of bugs found and fixed. {| class="wikitable" |- ! Version ! Bug Description ! Platform ! Status |- | 1.7 beta | The .rec files produced by StartRecordingPlayerData shows error | Win/Linux | Fixed, will be reflected in 1.7 beta 2 |- | | | | |}")
- 05:17, 28 August 2023 Habi talk contribs created page V1 7 beta release notes (Created page with "<poem style="border: 2px solid #d6d2c5; background-color: #1affaa; padding: 1em;"> '''Version 1.7 beta''' Release date: 24.August.2023 </poem> ==What is new?== *NPC can now use pickups, checkpoints, and objects. *Fixed disconnection/crash issue when using Vector._tostring method. *Fixed bugs related to crouching, reloading, and checking player actions. *Set console foreground intensity for windows console. It looks better now. *...")
- 14:33, 27 August 2023 Habi talk contribs created page ExitVehicle (Created page with "<poem style="border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;"> This function was added in v1.7 beta2 and will not work in previous versions. </poem> {{Welcome|desc=Initiates a player's entry into a vehicle with extended options| params=<source>NoParams</source>| retvals=true on success, false on failure( npc not in vehicle ).| relfuncs= *ExitVehicleEx *EnterVehicle }}")
- 06:11, 27 August 2023 Habi talk contribs created page ExitVehicleEx (Created page with "<poem style="border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;"> This function was added in v1.7 and will not work in previous versions. </poem> {{Welcome|desc=Initiates a player's entry into a vehicle with extended options| params=<source>(ofsd,style, byte1, byte2)</source> <poem>ofsd : This is true/false. If true, npcclient will send an onfootsyncdata after 650 ms. If OnFootSyncData is not send, npc exists, but will be seen again sitting inside vehicl...")
- 05:13, 27 August 2023 Habi talk contribs created page GetCheckpointCount (Created page with "<poem style="border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;"> This function was added in v1.7 beta and will not work in previous versions. </poem> {{Welcome|desc=Gets the total number of checkpoints streamed to NPC| params=None| retvals=The total number of checkpoints that are streamed to NPC| relfuncs= *IsCheckpointStreamedIn *GetCheckpointRadius *GetCheckpointPos *GetCheckpointColor *IsCheckpointSphere *ClaimEnterCheckpoint...")
- 05:09, 27 August 2023 Habi talk contribs created page GetObjectCount (Created page with "<poem style="border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;"> This function was added in v1.7 beta and will not work in previous versions. </poem> {{Welcome|desc=Gets the total count of objects| params=None| retvals=The total number of objects in the game world.| relfuncs= *IsObjectStreamedIn *GetObjectModel *GetObjectPos *GetObjectRotation *GetObjectAlpha *IsObjectTouchReportEnabled *IsObjectShotReportEnabled *ClaimObje...")
- 07:33, 25 August 2023 Habi talk contribs created page GetPickupCount (Created page with "<poem style="border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;"> This function was added in v1.7 beta and will not work in previous versions. </poem> {{Welcome|desc=Gets the total count of pickups| params=<source>NoParams</source>| retvals=The total number of pickups streamed to npc.| relfuncs= *IsPickupStreamedIn *GetPickupPos *GetPickupModel *GetPickupAlpha *GetPickupQuantity *ClaimPickup }}")
- 07:30, 25 August 2023 Habi talk contribs created page GetPickupQuantity (Created page with "<poem style="border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;"> This function was added in v1.7 beta and will not work in previous versions. </poem> {{Welcome|desc=Gets the quantity of a pickup| params=<source>(pickupid)</source> pickupid : The ID of the pickup to retrieve the quantity for.| retvals=The quantity of the pickup.| relfuncs= *IsPickupStreamedIn *GetPickupPos *GetPickupModel *GetPickupAlpha *GetPickupCount *ClaimPickup...")
- 07:28, 25 August 2023 Habi talk contribs created page GetPickupAlpha (Created page with "<poem style="border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;"> This function was added in v1.7 beta and will not work in previous versions. </poem> {{Welcome|desc=Gets the alpha value of a pickup| params=<source>(pickupid)</source> pickupid : The ID of the pickup to retrieve the alpha value for.| retvals=The alpha value of the pickup.| relfuncs= *IsPickupStreamedIn *GetPickupPos *GetPickupModel *GetPickupQuantity *GetPickupCount *[...")
- 07:27, 25 August 2023 Habi talk contribs created page GetPickupModel (Created page with "<poem style="border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;"> This function was added in v1.7 beta and will not work in previous versions. </poem> {{Welcome|desc=Gets the model of a pickup| params=<source>(pickupid)</source> pickupid : The ID of the pickup to retrieve the model for.| retvals=The model ID of the pickup.| relfuncs= *IsPickupStreamedIn *GetPickupPos *GetPickupAlpha *GetPickupQuantity *GetPickupCount *ClaimPickup }}")
- 07:06, 25 August 2023 Habi talk contribs created page GetPickupPos (Created page with "<poem style="border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;"> This function was added in v1.7 beta and will not work in previous versions. </poem> {{Welcome|desc=Gets the position of a pickup| params=<source>(pickupid)</source> pickupid : The ID of the pickup to retrieve the position for.| retvals=A Vector containing the x, y, and z coordinates of the pickup's position.| }}")
- 07:00, 25 August 2023 Habi talk contribs created page IsPickupStreamedIn (Created page with "<poem style="border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;"> This function was added in v1.7 beta and will not work in previous versions. </poem> {{Welcome|desc=Checks if a pickup of given ID is streamed in| params=<source>(pickupid)</source> pickupid : The ID of the pickup to check if streamed in.| retval=true, if streamed in and false otherwise.| }}")
- 06:27, 25 August 2023 Habi talk contribs created page OnServerShareTick (Created page with "<poem style="border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;"> This function was added in v1.6 beta 4 patch2 and will not work on previous versions. </poem> {{Welcome| desc=This function is periodically called when server shares tickcount with npc.| params=<syntaxhighlight lang="lua">(tickcount)</syntaxhighlight>| example=<source lang="lua"> function OnServerShareTick(tickcount) { } </source>| relfuncs=*GetTickCount }}")
- 16:48, 22 August 2023 Habi talk contribs created page ClaimPickup (Created page with "<poem style="border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;"> This function was added in v1.7 (not released yet) and will not work on previous versions. </poem> {{Welcome|desc=Triggers the Pickup pickedup event on server side.| params=<source>(pickupid)</source> <poem>pickupid : The ID of the pickup to be picked. If the player is not near the pickup, nothing happens. </poem>| retval=true, if the pickup exists and is streamed in. false, otherwise| rel...")
- 16:54, 21 August 2023 Habi talk contribs created page GetVehicleTurretRot (Created page with "{{Welcome|desc=Returns the turret rotation of the vehicle, if it have one| params=<source>(vehicleid)</source> <poem>vehicleid : The ID of the vehicle, whose turret rotation is to be obtained.</poem>| retvals=The Turret rotation of the vehicle as Vector on success, Vector(0,0,0) on failure ( invalid vehicleid/not streamedin ). If the vehicle has no turret, it is expected to return 0 as both the horizontal and vertical turret resulting in Vector(0,0,0) }}")
- 16:47, 21 August 2023 Habi talk contribs created page GetVehicleRotation (Created page with "{{Welcome|desc=Returns the rotation of the streamed in vehicle| params=<source>(vehicleid)</source> <poem>vehicleid : The ID of the vehicle, whose rotation is to be obtained.</poem>| retvals=The Quaternion rotation of the vehicle on success, Quaternion(0,0,0,1) on failure ( invalid vehicleid / not streamed in )}}")