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.

Topics - Athanatos
Script Showroom / Zombie Survival 0.2
« on June 1st, 04:49 PM »
This is a rewrite of Zombie Survival 0.1 with more cool features like buyable perks, bonus pickups, perk sprites, and more!

Change log:
'✓'  <- (added)
   '--' <- (to be added)
   '' <- (not added)
     ✓ Added GUIs :
        ✓ Perks are now visible!
       ✓ Shop GUIs
     ✓ Added Pickup Bonuses:
      ✓ Minigun
      ✓ Instakill (zombies die instantly)
      ✓ Immunity (you are almost invincible)
      ✓ Double Score (cash per kill is doubled)
      ✓ Freezer (all zombies stop moving)
      ✓ 500 Cash
      ✓ Just a message in case you are unlucky >:)
     ✓ Added More Perks:
      ✓ Fast Revive (no need to be revived if active)
      ✓ Extra Damage (increases bullet damage by 2 timeas)
      ✓ Fast Health Regeneration (health regenerates 5 times faster) (The original server only had Juggernaut as a perk )
       ✓ Added a simple Revive system
      ✓ This is a complete rewrite
      ✓ Less commands, just walk into the checkpoints to buy stuff! Gameplay is way easier to understand!
      ✓ The only commands are: /help, /skin and /stats
      ✓ Killstreaks list:
         ✓ Power : Activates the Shop! (10 kills)
         ✓ [NEW]Predator Missle : Control a missle fired from a AGM. (50 kills)
         ✓ Insta Heal : Heal everyone instantly (75 kills)
         ✓ Care Package (before named as 'Airdrop'): A plane flyes and drops a package containing either a new weapon, or a bonus pickup (100 kills)
         ✓ [NEW] Armour Package : Place a armour pickup that is usable by everyone! Armour only protects you from falling and explosions,(150 kills)
         ✓ [NEW] Ammo Package : Drop a pickup that gives ammo! (200 kills)
         ✓ [NEW] Chopper Gunner : Control a Hunter helicopter! (250 kills)
         ✓ Emergency Air drop : A airplane drops 2-5 Care Package bonuses (300 kills)
         ✓ [NEW] Reaper : Control a Reaper UAV (400 kills)
         ✓ Airstrike :(Named before as 'Bomb') An airplane drops a bomb that kills all the spawned zombies with an boom. (450 kills)
         ✓ Nuke: Same as Airstrike but it also skips the round, and resets the kill counter. You can't get this by buying a extra killstreak. (500 kills)
      ✓ Many killstreaks rewards were removed and replaced.
      ✓ Chat messages when damaging zombies (Result is less lag)
Bugs and Crashes / [BUG] Insane player desync
« on May 1st, 02:19 PM »
After playing for about 1 hour on my zombie survival server with AlecuMadalin, he got invisible for some reason. His shadow is still visibile. Seems to be fixed by respawining or by rejoining.

What you were doing when the bug happened

What you think caused the bug
My revival system :
Code: [Select]
function Survivor::Revive(Saviour)
Saviour.player.Score += 1;
::Message(GREEN+Saviour.player+" revived "+this.player);
function Survivor::Update()
if(this.NeedToBeSaved == false)
if(this.player.Health < this.MaxHP)
this.player.Health += 1;
if(this.FastHealthRegen) this.player.Health += 4;
if(this.player.Health > this.MaxHP) this.player.Health = this.MaxHP;
if(this.player.Health <= 25) this.Down();
this.player.Health -= 1;
if(this.player.Health == 1)
this.player.Frozen = false;
::Message(RED+this.player+" was killed by zombies!");
this.player.Health += 6;
if(this.player.Health >= 100)
this.player.Health = this.MaxHP;
this.FastRevive = false;
if(LOADEDMAP != null)
if(::DistanceFromPoint(this.player.Pos.x,this.player.Pos.y,::LOADEDMAP.pos.x,::LOADEDMAP.pos.y) > ::LOADEDMAP.distance)
::Announce("~o~GET BACK TO THE FIGHTNING ZONE COMRADE!",this.player,0);
this.player.Health -= 5;
else if(ZOMBIE_IMMUNITY >0 )
this.player.Health = this.MaxHP;
if(this.NeedToBeSaved) this.Up();
The function Player::PlayerShoot isn't called when a hunter machine gun is used, same with shotguns, grenades, and molotovs...
And the function onObjectShot  isn't called when a Hunter guns are used too.


What you were doing when the bug happened
Working on my Zombie survival server... Tried to reward players with a Hunter on a specific number of kills, but hits don't get detected.

I used this code to see if it is called:
Code: [Select]
function Player::PlayerShoot( player, weapon, hitEntity, hitPosition )
Console.Print("Player :"+player.Name+" "+weapon+" ");

What you think caused the bug
I don't know tbh
Script and Content Requests / [READ-ME] Before requesting content.
« on February 26th, 05:52 PM »
I'm going to keep this short and simple.

1.) Stop copy-pasting the scripts directly. It makes your code unreadable and confusing. Use
Code: [Select]
[code][ /code]
without the space  between the [ and / . Example:

This is bad:
player.Cash += 5000 + rand() % 5000;

This is good
Code: [Select]
player.Cash += 5000 + rand() % 5000;

2.) No one wants to fix your broken leaked and stolen pieces of code. You better go start learning to write code correctly. There are some links to get started.

There are some links to get you started... (Yes learning other languages is a great practice)

3.) Don't make thread titles like :
Code: [Select]
I wants scripst pls pls pls help me fast cuz imma gonna die if i get no scripts :((((
Code: [Select]
Pls scripts help

Writing forum threads like this makes you look like an absolute retard.

4.) If a plugin like the MySQL, INIParser or SQLite isn't loading , then stop making your server.

So, please newbies, keep these rules in mind.
Script Showroom / [OLD] Zombie survival 0.1 by Athanatos
« on January 5th, 03:38 PM »
Since this gamemode is soo laggy when there are more than 1 player, and I got bored of making it, there it is.

Download link in the video's description.

(click to show/hide)
1.) Get a copy of sseebbyy's blank server
2.) Copy the files from the folder into the blank server
3.) Done!

General Discussion / Windows 10 VC:MP Problems, please help
« on November 11th, 2018, 07:53 AM »
Hi there, one of my firend returned to vc:mp, but his mouse wasn't working in the game, but it was working in the main menu. I tried adding the dx input 8 dll, setting compatibility mode to Windows 98/ME and XP SP2, running compatiblity assistant, deleting the VC user files, setting the resolution to biggest and lowest values.

   I'm looking for a solution from ya. I was thinking about using Silent Patch in VC:MP but I think this is possible.
General Discussion / Looking for testers for my VC:MP server.
« on October 4th, 2018, 08:30 PM »
Hello there. I need at least 2 persons to help me find bugs, glitches and things like that in my server 'Romania Cops N' Robbers '. PM me or post there if you are interested.
Bugs and Crashes / [BUG] vehicle.Health bug
« on October 2nd, 2018, 04:13 PM »


vehicle.Health does not show correct values. Carefully watch the game chat.


What you were doing when the bug happened

What you think caused the bug
Lastest updates.
Videos & Screenshots / Romania Cops N Robbers 0,5 alpha preview video
« on September 19th, 2018, 12:29 PM »

All suggestions and criticism are highly appreciated.
Snippet Showroom / Attaching player to an entity functions
« on September 7th, 2018, 01:37 PM »
Attaching player to an entity functions

   I've tried to make a system that attaches a player to an entity (car, object, pickup or other player). Good for some events and stuff, for example if you try making an arrest system like in Brasil Real RPG, when the player 'follows' the cop, you can find this usefull. You can adapt the script to attach an object to an car , an pickup to a car, etc...

(click to show/hide)
player.Attach( type, entity, offset);

Attaches a player to the specified entity with an offset.
type : string, to define what kind of entity is the player attached on.
entity: can be a player, object, vehicle or pickup instance.
offset: Vector, defines the offset the player is attached to the center of vehicle.

Code: [Select]

De-ataches the player from the entity he was attached before.
Parameters: none.

Code: [Select]



Just put the 'attach_sys.nut' file from the downloaded archive in your /scripts/ folder then :
Code: [Select]
function onScriptLoad()
General Discussion / Can't configure a Java server.
« on August 22nd, 2018, 01:01 PM »
Code: [Select]
jvmLibPath=C:\Program Files\Java\jre1.8.0_151\bin\server\jvm.dll
classPath="C:\Users\NicusorN5\Desktop\Romania Cops N Robbers Remastered\RCNRRemastered\dist\"

The log containing the error:
Code: [Select]
1534939103872:  INFO - (VcmpPluginInit) VC:MP Java integration plugin loading...
1534939103878:  INFO - (JavaCore::LoadLibraryFunctions) Java VM library loaded.
1534939103878:  INFO - (JavaCore::LoadLibraryFunctions) Java VM library functions loaded.
1534939103878:  INFO - (JavaCore::SetupJVMArguments) Java VM settings initialized.
1534939104045:  INFO - (JavaCore::CreateJVM) Java VM created.
1534939104045:  INFO - (JavaCore::AttachThreadToJVM) Server thread attached to VM.
1534939104057: ERROR - (JavaExceptionHandler::Initialise) Exception in Java code
java.lang.NoClassDefFoundError: com/maxorator/vcmp/java/plugin/exceptions/DeadEntityException
Caused by: java.lang.ClassNotFoundException: Source)
    java.lang.ClassLoader.loadClass(Unknown Source)
    sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    java.lang.ClassLoader.loadClass(Unknown Source)
1534939104057: ERROR - (JavaExceptionHandler::Initialise) Exception classes not found (ThreadSafetyException, DeadEntityException, NullPointerException).
1534939104057: ERROR - (JavaCore::Initialise) Setting up exception handler failed.
1534939104057: ERROR - (JavaEventProxy::StartVM) JavaCore initialisation failed.

Everthing in the java.proporties file seems correct to me, but I dunno why this still happends.

:edit: UPDATE1: NewK's java server works correctly, so there's might be something wrong with my code.

:edit: UPDATE2: My Java project code is exactly the same as NewK's but only the classes names are changed.