Author Topic: Azjherben's Mining and Deathmatch server. (being edited)  (Read 6084 times)

Code: [Select]
    function GameConnection::spawnPlayer(%this)
    {
%jetlevel = %this.jetlevel;


if(%this.jetlevel == 0)
{
%this.player.schedule(100,changeDataBlock,PlayerZeroJet);
}

if(%this.jetlevel == 1)
{echo("Hi.");
%this.player.schedule(100,changeDataBlock,PlayerOneJet);
}

if(%this.jetlevel == 2)
{
%this.playerdatablock = playertwojet;
}

if(%this.jetlevel == 3)
{
%this.playerdatablock = playerthreejet;
}

if(%this.jetlevel == 4)
{
%this.playerdatablock = playerfourjet;
}

if(%this.jetlevel == 5)
{
%this.playerdatablock = playerfivejet;
}

parent::spawnPlayer(%this);
    }

Why dosn't that work right?!

^^

Looks like Azzie is making levels for jet players :P

I Think you need to specify power for each jet level. How much velocity is given off for each level of jetting. I'm not much of a scripter, But I Think that may be a good reason :P

Edit: Owait.. You need to actually have player-types withe each player#. If you want to do something like that, you need to make player types. I Think XD
« Last Edit: May 03, 2010, 06:44:45 PM by Sword99 »

/buyjets and /upgradejets work now!
1000$ to buy jets originally and 1500$ for each upgrade.
There are five levels. Six including no jets.

Are you gonna post da mod? :)

EDIT: Please do  :D
« Last Edit: May 04, 2010, 07:44:10 PM by Reinforcements »

Well, thing is the mods not done, and even when it is if I release it publicly then I'm sure there shall be tons of other mining servers just like mine. If you just want a basic mining mod base, check out kalphiters for now.

Also, anyone wanna let me burrow a script for a good dynomite?

Code: [Select]
    function GameConnection::spawnPlayer(%this)
    {
%jetlevel = %this.jetlevel;


if(%this.jetlevel == 0)
{
%this.player.schedule(100,changeDataBlock,PlayerZeroJet);
}

if(%this.jetlevel == 1)
{echo("Hi.");
%this.player.schedule(100,changeDataBlock,PlayerOneJet);
}

if(%this.jetlevel == 2)
{
%this.playerdatablock = playertwojet;
}

if(%this.jetlevel == 3)
{
%this.playerdatablock = playerthreejet;
}

if(%this.jetlevel == 4)
{
%this.playerdatablock = playerfourjet;
}

if(%this.jetlevel == 5)
{
%this.playerdatablock = playerfivejet;
}

parent::spawnPlayer(%this);
    }

Why dosn't that work right?!
That is a really bad method of doing that.

Well, thing is the mods not done, and even when it is if I release it publicly then I'm sure there shall be tons of other mining servers just like mine. If you just want a basic mining mod base, check out kalphiters for now.

Also, anyone wanna let me burrow a script for a good dynomite?

Ohhhhh, dynamite! That would be cool! You could mine through like 8 or 10 bricks with 1 BOOM!

EDIT: I like your modded mining mod.
« Last Edit: May 05, 2010, 08:05:44 AM by Reinforcements »

That is a really bad method of doing that.
It's changed sence I put it up, but just incase, what's bad about it?

It's changed sence I put it up, but just incase, what's bad about it?
There are more efficient ways of doing it which allow you to add much more levels with much less code. I am not very good with database things like that (Using /buy insertitem instead of using a million individual / commands) which is one reason I wish Jaydee would releasing his mining. The types of scripting I am lost at are brick scripting, bot scripting, and databases.

Dynomite added, and /tele command.




Azzie, I Think you have by far, the best mining mod :P

Azj uses admin exploits, therefore this mod will suck too. I hope you get your key revoked for your stupidity.