PPC File Operations Int Var addition
#1

Hello everyone,

I was adding features to a game mode of a Client. The game mode is a Rip of PPC_Trucking game mode. The game mode uses PPC_FileOperations.inc to create/load/save PlayerFile.

I tried to add a new integer variable with the name 'Logistics' with the format it is done within the include. But i failed.
It doesnt work the way i did. The Server crashes and doesnt create a file.

Do anyone know how to add a new integer variable for a player to be created/saved/load within the server using the PPC_FileOperations.inc?

The game mode uses the array APlayerData for the Player Data storage. And it is not defined within the game mode nor even within the include. I dont know where is it? I dont know how does this include is actually working?

if anyone can alter the include for my use , will be real awesome or can explain me features of it so that i can add more variables. Will appreciate it a lot.

Thanks
Ballu Miaa
Reply
#2

Quote:
Originally Posted by Ballu Miaa
Посмотреть сообщение
I tried to add a new integer variable with the name 'Logistics' with the format it is done within the include. But i failed.
It doesnt work the way i did. The Server crashes and doesnt create a file.
Show the code, I've just downloaded the include and it is really simple.
Quote:
Originally Posted by Ballu Miaa
Посмотреть сообщение
The game mode uses the array APlayerData for the Player Data storage. And it is not defined within the game mode nor even within the include. I dont know where is it? I dont know how does this include is actually working?
If the compiler doesn't complain about APlayerData being undefined, then don't be fooled. The array APlayerData is SOMEWHERE lurking in one of the includes.
Reply
#3

Quote:
Originally Posted by VincentDunn
Посмотреть сообщение
Show the code, I've just downloaded the include and it is really simple.

If the compiler doesn't complain about APlayerData being undefined, then don't be fooled. The array APlayerData is SOMEWHERE lurking in one of the includes.
I can not show the code anymore as i deleted the altered include because of no usage.

Allright i have the Original Include now. Tell me how to add a integer variable in the PlayerData
Reply
#4

By the way what is the file reader/writer used in PPC_Trucking? Its a custom one i guess. Isnt a released one?

Do anyone know how to add a integer variable for a player in this game mode? Been trying to figure it out but got nothing yet.
Reply
#5

Bumping it After some days [it is Allowed after 48 hours].

Is there Anyone who can help solve this problem?
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)