Hello everybody, I apologize in advance for my English... ^^
I am on Trinitycore 3.3.5.12340 and I have two issues :
- I want to know how to put a player against another player ( like pvp )
Let me explain :
I create a table, for example "Player_vs_Player"
Column : id, idPlayer1, idPlayer2
I want that with a function, the player1 can kill the player2 without take into consideration the faction of player.
For example, if player1 and player2 are hostil,and if player3 don't have the entry : id, idplayer2, idplayer3, he can't attack player2 or player3.
I want to do personal pvp. I made several test but nothing worked.
- My second issue :
I want to execute a script in .c++ which execute on at a specific date. Like everyday at 12am, the server execute an .cpp script.
So i look in the table game_event but we can't specify a script to execute and I have found nowhere :/
Thanks for helping =)