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 - [MAF]Rac3r

Pages: 1 2 [3] 4 5 6 7 8
31
AdrenalineX Development / AdrenalineX Mapping [Post Maps HERE]
« on: July 01, 2010, 06:37:41 pm »

Downloads

MTA Race Editor
Application to map objects, checkpoints,
starting positions and race description


AdrenalineX MTA Race Object Fix
Replacement for MTA Race object lists, new menu includes
all objects and excludes invalid/unstable objects.
There is a read_me.txt file for instructions.

pod's MTA to AX Converter
Excellent tool to quickly convert MTA Race & DM
maps to AdrenalineX format races



Weblinks

GamerX Tutorial
Detailed tutorial about how to use MTA Race Editor

FFS Converting
Easily convert objects for always active maps

SA-MP Map Showroom
Released maps from the SA-MP community

MTA Map Showroom
Released maps from the MTA community

32
Multiple Language Support
As you are probably aware, the server has support for multiple languages. However, since us scripters don't speak every language we need your help.

How to translate
Go to the download link, choose your language (if it's available*) and edit the lines as best you can. When you're done, post the edited file here as an attachment and soon you'll be able to see your translation on the server.

Important: If you see text like  %s, ~y~, \n, {FF0000}, ~PED_DUCK~ or \t, just ignore it and work around it. Also, as we can translate the country names quickly and automatically, leave them in English.

Empty lines should be kept empty, they are currently invalid.

* Unsupported Languages
If your language does not appear here, feel free to create your own text file based on the template 01_English.lang file and name it accordingly, 28_Swedish.lang for example.

Download files here
http://adrenalinex.co.uk/translation

Credits
Thanks to all translators who have helped so far. They are:
  • [2F2F]SNiKeRiS
  • [AK47]skunk
  • [LSR]Jalicno
  • [LSR]peddy
  • [MAF]Cromiell
  • [MAF]Cthulhu
  • [MAF]Karlis
  • b00tsyou
  • Blister
  • BuRnOUT
  • CruzeS_(PT)/konbleck
  • falco355/Berkut/SuperNova
  • Fant0mas
  • Jake
  • KariranY
  • Karlip
  • knut1c0
  • Love
  • N0M3rCy
  • Scorpion
  • ShelbyGT
  • Tiby
  • Agus
  • Toretto
  • pajko
  • [LSR]Cypher
  • M4lysz
  • Ush
  • Exodus
  • ...
  • Terrabyte
  • depay
  • nero
  • GMX
If you've contributed and I've omitted you from this list, please tell me (mooman) so I can update it.

33
AdrenalineX Development / The Grid : The Hynix Theory
« on: June 13, 2010, 08:39:38 am »
Recoded the grid last night, not attempted to add it to AdrenalineX yet. I'm confident (from debugs) it will be 100% accurate.

Few reasons why:
  • Players were spawning badly sometimes (Invalid Spawn)
  • Although the old grid was recoded, it was coded with the same layout.

What's possible now:
  • 1 player per grid slot (WILL fix that bug of players spawning on other players cars)
  • Parkour : Ability to add different grid
  • GTAIV : Ability to add different grid
  • Upto 100 lanes, compared to our basic 2

Instead of describing the way it works, I've used MS Paint. :P


34
Off-Topic / The Mouse
« on: June 09, 2010, 05:31:20 am »
A couple of days ago, my mum and dad were down stairs when all of a sudden, a mouse started running across the dining room. They got rid of it and we thought nothing of it.

Last night, I was up late and decided to go to bed. All i hear from under my carpet it scratching (it sounded like the mouse was picking at my carpet in my room).

Couldn't sleep a wink, in fear I'd wake up with the mouse in my bed :L

35
Off-Topic / [Awards] The Unofficial AX Awards [2 Awards lol]
« on: June 05, 2010, 08:47:17 am »



Dead Man Walking Award

Winner : [UK]JOE  (4378 Deaths)
2nd: MadMax  (1083 Deaths)
3rd: falky  (995 Deaths)

STFU Award

Winner : [Eternal]DaBaR]  (8618 chat lines)
2nd: Ironman  (5354 chat lines)
3rd: MadMax  (4690 chat lines)


36
Bug Reports / Few bugs for pod to fix [Fixed]
« on: June 04, 2010, 10:59:12 am »
Can't seem to fire up the AX.ECHO, unsure on the reason.

Code: [Select]
[10:53:16] *** Connecting to irc.gtanet.com:6667
[10:53:18] *** Error connecting to IRC: No connection could be made because the target machine actively refused it.
[10:53:29] *** Connecting to irc.gtanet.com:6667
[10:53:31] *** Error connecting to IRC: No connection could be made because the target machine actively refused it.

SQL Error
Code: [Select]
[10:43:17] MySQL Error (0): Could not execute query. Column count doesn't match value count at row 1.

EDIT Also can we change IRC server to irc.tl, better link to SA-MP imo

37
Off-Topic / 2 hard questions. Can you answer them :p
« on: April 27, 2010, 07:16:05 am »
Name the race made by switch, that had reference to England?

Why is DoubleYou, called DoubleYou?

38
Unban Requests / RedDragon [Unbanned]
« on: March 31, 2010, 08:58:46 am »
RedDragon : Banned
Admin : falky
Reason : Trouble making (using racism maybe unintentionally, but still no need for it)

Quote from: Rac3r
Sorry RedDragon, please take a time out and think about the way you've been openly flaming other players. You're a young player, so I'll take it as you're not ready to join our racing community.
We don't need or want players who just start trouble for the hell of it.

Apart from the shit you bring to the server, you have had come good moments where you actually fitted in well with us, we'll consider an unban on 7th April.

Rac3r

39
AdrenalineX Development / Laggy Bastards!
« on: March 26, 2010, 07:41:50 am »
Update post mainly for simon, but it affects us all.

Laggy Bastards, that's all my mate use to say when he was playing MW2 lol

But, we've seen a lot of it lately, the lag-catch up as I've called it :

  • You're leading the race quickly after starting
  • You notice the people behind you slow down almost to a complete halt
  • All of a sudden, they're all around bashing around like atoms.
  • You're in the hedge, lag slammed.

Happens quite a lot, more so in one world races. I've heard many complaints about this, but I couldn't pin point the problem. Simon and I were chatting about sizing down AX coding, to a minimal. Luckily though, we know a guy named pod. He suggested we slow down the stream rate and so far it's seemed to have worked. (It is early days so I won't get the party hat on)

One world is back to normal, woo.

40
Off-Topic / Crime does pay, sort of. lol
« on: March 18, 2010, 02:17:36 pm »
Hi, Monday is going be a well shit day for me, I have Jury Duty lol

My brother and father who have both criminal records do not have to, my mum though did her Jury Duty last year and said it went smoothly.

As a teen, I didn't really get into trouble, don't get me wrong I did have times when I broke the law a few times, I just never got caught.

Jury Duty sucks, but if I don't do it, you could go to prison as YOU HAVE TO DO IT.

41
Bug Reports / Mode Switching Thread [Notice]
« on: February 28, 2010, 09:29:04 am »
Today, we'll be trying a new way of switching modes. The old system was flawed. Best example is /spec.

When we spec people, a few functions have to be set to SPEC_MODE for example.
When we type /race, it doesn't know if we were in spec, so even if we were not in SPEC, it would still have to set SPEC_MODE to off.

Another example /DM, if we return to /race, it didn't know we were in deathmatch so maybe wouldn't reset heath, armour or weapons.

OnPlayerModeChange(playerid, oldmode, newmode, disable);

Any problems switching modes, post them here please, or let me know on the server. Thanks.

42
Help & Resources / How to code SA-MP Pawn [Tutorial]
« on: February 12, 2010, 09:03:06 pm »
Introduction
There is hundreds of tutorials on the web to help you learn to code. Whether it be PHP, C or even PAWN. This tutorial though is for our regulars at AdrenalineX. A quick overview of how easy adding new features to the server can be.

Tools Required
You don't need much to get to started, just download the SA-MP Server files and you're ready to go.
Extract this file to create a new folder, the server folder.
Contents Of Server Folder

Quote
pawno : The scripting folder, this contains the pawno.exe application that's used to script Pawn.
server.cfg : This contains all the setup data for the server, including gamemode, filterscripts and plugins.
gamemodes : The gamemode is the main script that is hosted.
filterscripts : Filterscripts are extra scripts needed by the server, like Anti-Cheat scripts for example.
plugins : These are server side plugins, .dll files that hook into the server from the host server.
server.exe : The server application, double click to start server.
samp-npc.exe : The NPC (Bot) application. Used by server.exe only. Each both had it's own samp-npc.exe process.
announce.exe : To announce the server on the SA-MP Master List. Used by the server.exe only.

Getting Started
Inside the pawno folder is an application named 'pawno.exe', double click it to load the window. Click 'file' then 'new' to auto create a base for your script.
NOTE: Net Framework 1.1 is needed, as it uses it to compile the script.
Pawno Apllication

On the right, is the SA-MP functions. Goto the line you would like to add the function to, then double click the function from the list on the right. This will happen :

This function isn't complete yet, you will see on the bottom of your screen the extra info (params as they are called) need to complete the function.

As you can see, it needs a playerid and a float value for the armour.
Code: [Select]
SetPlayerArmour(playerid, 50.0);The ; is needed to let the script know the function has ended.

As you can see, the function is complete and when the player spawns, it will set the players armour to 50.0.

Tesing Code
Now we have started to script, we should test it to see it in action. Click 'file' and then 'save as'. The script needs to saved into the 'gamemodes' folder. Select a name to save as, I'm going to call it TestCode. Press F5 to compile the script.
In your main server folder, open the file named server.cfg and edit the gaemodes line.
Quote
gamemode0 gtl 1
You should change it to your script name, I called mine TestCode.
Quote
gamemode0 TestCode 1
While you have the server.cfg open, edit the rcon password.
Quote
rcon_password mypassword
Go back to your server folder and start the server by double clicking server.exe.

Add your local server I.P to your SA-MP client. By default the I.P and port will be 127.0.0.1:7777.
Join the server.


Callbacks
SA-MP callbacks are easily described as triggers, the player triggers an event that contacts the server.  Along with the triggered event, extra params are sent, thus enabling the server to take the data from the event.
Quote
public OnPlayerDeath( playerid, killerid, reason )
{
   GameTextForPlayer( playerid, " WASTED ! ",5000,0);
   GameTextForPlayer( killerid, " YOU KILLED HIM ! ",5000,0);
   printf("[[debug] Player %d got killed by %d    reason id %d ",playerid, killerid, reason );
    return 1;
}

Custom Callbacks
Along with the SA-MP Callbacks, you can also create custom callbacks to track player changes. A good example is OnPlayerHeal( playerid, Float:increase ).
The above on it's own though it's pretty useless as all you're only telling the server the players ID and a float value.
Under your include <a_samp> add the following line:
Code: [Select]
forward OnPlayerHeal( playerid, Float:increase );The above gives the compiler an address to call, basically when OnPlayerHeal is called, it won't give any errors.
Now create the actual custom callback, but keep it empty for now.
Quote
public OnPlayerHeal( playerid, Float:increase )
{
    return 1;
}
Unlike the SA-MP Callbacks, we have to manually code when they are triggered. OnPlayerHeal, the player can be healed at any time, so the best solution here is a timer. Creating a timer is very easy, it even appears on the right of the Pawno application.
Under OnGameModeInit() (this callback happens only when the server is started/restarted) you need to add the code to create a timer.
Quote
public OnGameModeInit()
{
    SetTimer( "HealthTimer", 1000, 1);
    return 1;
}
Function Name : This is the timers function name.
Time delay : 1000 is 1 second, 100 is a 10th of a second.
Repeat : Repeat the timer (0 = no repeat, 1 = repeat)
Now we need to create some new variables to store the health data.
Under your include <a_samp> add the following line:
Code: [Select]
new Float:playerHealth[MAX_PLAYERS][2];The new identifies it as a new variable. Float: lets it also know it's a float value (56.44). playerHealth is the name we're going to call the variable. The [MAX_PLAYERS] states that is can store data for all players (ID). The [2] means it has two storage places (two values to the same variable name).
Now we can add the code that will let the server know if the player has healed.
Quote
public HealthTimer() 
{
    // now we have to scan all connected players, to
    // see if their health has changed.  This requires a loop

    for(new i; i < MAX_PLAYERS; ++)
    {
        // the above loops through all player ID's
        // the i we now define as the playerid

        GetPlayerHealth( i, playerHealth[ i ][ 0 ] );
        if( playerHealth[ i ][ 0 ] >  playerHealth[ i ][ 1 ] )
        {
            // player found with health increased, call OnPlayerHeal
            OnPlayerHeal( i, playerHealth[ i ][ 0 ] - playerHealth[ i ][ 1 ] );
        }
        playerHealth[ i ][ 1 ] = playerHealth[ i ][ 0 ];
   }
    return 1;
}

43
Bug Reports / GRID [WIP]
« on: February 05, 2010, 07:35:25 pm »
Started work this morning creating a new grid. We all it to work without problem, but also some (including me) want it to be more advanced than the old 2D grid we currently have.
Click if don't know what a grid is!

Currentl Plans:
  • 1 - 8 Starting Grid Positions
  • Defined by server player limits. (not by per player)
  • Vehicle equipted with special options. (not by player enter vehicle)
Many reasons for the above, the one that sticks out the most though is the interaction between the player and vehicle.
Example of current setup
Code: [Select]
LOAD RACE >
  ADD PLAYER >
    CREATE VEHICLES >
      PUT PLAYER IN VEHICLE >
        EQUIP VEHICLE
Hopefully though, changing the process can easily improve the success rate on starting a race.
Code: [Select]
LOAD RACE >
  CREATE VEHICLES >
    EQUIP VEHICLES
      PUT PLAYER IN VEHICLE

Many bug reports, but they are all really due to the current setup we hve as a grid.
Quote from: Madmax
if new player just joined he spawns on top of A class and current leader (of A class) have no car
Sometimes at the start of a race people get into a world with more as 6 people, 6 people will get a car, the others won't.
The others can run free wherever they want. Also the people without a car doesn't get shown any of the cp's.
That was my bug description.


44
Bug Reports / Death Messages [Fixed]
« on: February 02, 2010, 12:23:29 pm »
I'm not good at handling death messages, but when people fall to their deaths, it isn't reported on IRC or the death boxes.

Can you have a look please pod?

I've done a comit at 12.23pm

45
Bug Reports / Maps & SK [Fixed]
« on: January 31, 2010, 09:15:04 am »
Sorry mapping dudes, I sorted out the SK folder by scanning the main race folder and checking if race was accepted, I forgot about the maps folder thought :o

Can you upload car files please?

Nuclear wastelands
Pursuit of vikings

Sorry again.

Pages: 1 2 [3] 4 5 6 7 8