Author Topic: MTA SERVER!  (Read 48850 times)

0 Members and 1 Guest are viewing this topic.

Offline [AK47]M4lysz

  • Admin
  • Posts: 2,247
    • View Profile
    • [AK47]Forum
Re: MTA SERVER!
« Reply #105 on: January 10, 2012, 06:21:59 pm »
making map 4 you

Offline [AK47]M4lysz

  • Admin
  • Posts: 2,247
    • View Profile
    • [AK47]Forum
Re: MTA SERVER!
« Reply #106 on: January 10, 2012, 06:38:17 pm »
btw SK mode ready yet?

Offline [MAF]Karlis

Re: MTA SERVER!
« Reply #107 on: January 10, 2012, 06:52:26 pm »
not yet, but on the way, so you can make it

the ped spawn is rectangle between four spawnpoints you put in there. vehicles are standard vehicles in map editor, not spawnpoints. all else is as usual.

Offline [MAF]Rac3r

  • Leader
  • Posts: 2,807
  • Well, this is embarrassing.
    • View Profile
Re: MTA SERVER!
« Reply #108 on: January 10, 2012, 08:49:06 pm »
id need a formula list how score is calculated, how its dependant on top time, streak, etc.
Code: [Select]
SetPrize = (1+b) * ((((RACE_Finish_Order * 0.1) + (timeconvert2(RACE_Best_Time) * 0.0775))*((STATS_Players + 1) - RACE_Finish_Order) / STATS_Players)*(1 + 0.15 *(PLAYER_Wins[playerid]-1)));

Offline [FSR]Ush

  • Admin
  • Posts: 13,449
  • Aart
    • View Profile
Re: MTA SERVER!
« Reply #109 on: January 10, 2012, 09:04:25 pm »
someone who finishes behind you can get more points than you :L

Offline Karlip

  • Admin
  • Posts: 1,048
  • -something clever-
    • View Profile
Re: MTA SERVER!
« Reply #110 on: January 10, 2012, 09:07:44 pm »
I finished "KarlipstartsMTA" and after finishing, the finish sounds went into an infinite loop and made me lag like hell.
« Last Edit: January 10, 2012, 09:11:32 pm by Karlip »

Offline [MAF]Karlis

Re: MTA SERVER!
« Reply #111 on: January 10, 2012, 09:14:09 pm »
strange, im checking it.

EDIT: fixed
« Last Edit: January 10, 2012, 09:17:09 pm by karlis »

Offline [MAF]Karlis

Re: MTA SERVER!
« Reply #112 on: January 10, 2012, 10:07:48 pm »
id need a formula list how score is calculated, how its dependant on top time, streak, etc.
Code: [Select]
SetPrize = (1+b) * ((((RACE_Finish_Order * 0.1) + (timeconvert2(RACE_Best_Time) * 0.0775))*((STATS_Players + 1) - RACE_Finish_Order) / STATS_Players)*(1 + 0.15 *(PLAYER_Wins[playerid]-1)));

excuse me, but what is b, and to what timeconvert converts?

Offline [MAF]Rac3r

  • Leader
  • Posts: 2,807
  • Well, this is embarrassing.
    • View Profile
Re: MTA SERVER!
« Reply #113 on: January 11, 2012, 10:38:54 am »
B - Added by mooman, everytime a player crashes, b = b + 1.  Might want to ignore that for now.

Timecovert:
Code: [Select]
timeconvert(Time, &Minutes, &Seconds, &MSeconds)
{
new secs = Time / 1000;
Minutes = secs / 60;
Seconds = secs % 60;
MSeconds = Time % 1000;
}

Offline MELK1Y

  • Admin
  • Posts: 155
    • View Profile
Re: MTA SERVER!
« Reply #114 on: January 11, 2012, 02:09:38 pm »
I have one map, but it needs a 1-player-SK mode or something else to run that race (race starts on foot then bike, then car, but there is no place for 2 or more people). Would be good to see new AX mode.

Offline [MAF]Karlis

Re: MTA SERVER!
« Reply #115 on: January 11, 2012, 02:15:34 pm »
correct if i'm wrong with any of these vals

timeconvert2(RACE_Best_Time) returns seconds form ms (you showed timeconvert(), not timeconvert2() )
RACE_Finish_Order  = finish rank (in any case in one of 2 fields where its used in it has negative effect in comparison to lower finish positions?)
STATS_Players = max players? or player count online
PLAYER_Wins[playerid] = streak count (so it allows you to skip few races and still get streak? otherwise i don't see any reason for an array)

___

@ melky : means few changes in code, but ill do it. it'll be a ghostmode with high transparency tough(laggers gonna hate).

Offline [MAF]Rac3r

  • Leader
  • Posts: 2,807
  • Well, this is embarrassing.
    • View Profile
Re: MTA SERVER!
« Reply #116 on: January 12, 2012, 03:19:18 pm »
STATS_Players: Is total players racing at that time. (bit of a glitch)
PLAYER_Wins[playerid] increases if they win races in a row, otherwise it resets to 0

Offline [MAF]Karlis

Re: MTA SERVER!
« Reply #117 on: January 12, 2012, 06:57:51 pm »
k, thanks.
i've done the sk.

what to do to make sk race:
1) put spawnpoints, 1 spawn for a 1 slot in a grid(more then 20spawns results in a oneworld)
 only 1st and 2nd spawn is relevant(player is spawned randomly between the two), others are just to indicate the grid size(didnt want to make dedicated setting as it would break support with default map editor.)
2) put the vehicles from default map editor defenition
3) make ur race and cps as usual, 1st cp is the start area
4)open map with notepad and remove the vehicle field in any of the spawnpoint lines.(used to detect footspawn and therefore difference between normal race and sk)

sorry for this not being straightforward, but i cant make it without any external downloads, while buildmode is not done.

Offline [MAF]mooman

  • Leader
  • Posts: 6,299
    • View Profile
Re: MTA SERVER!
« Reply #118 on: January 13, 2012, 12:42:04 am »
id need a formula list how score is calculated, how its dependant on top time, streak, etc.
Code: [Select]
SetPrize = (1+b) * ((((RACE_Finish_Order * 0.1) + (timeconvert2(RACE_Best_Time) * 0.0775))*((STATS_Players + 1) - RACE_Finish_Order) / STATS_Players)*(1 + 0.15 *(PLAYER_Wins[playerid]-1)));

excuse me, but what is b, and to what timeconvert converts?
               if(!PLAYER_Crashes[playerid])b=0.1;

so 10% bonus for not crashing
will read and answer your forum PMs when I'm less busy!

Offline MELK1Y

  • Admin
  • Posts: 155
    • View Profile
Re: MTA SERVER!
« Reply #119 on: January 13, 2012, 07:31:12 am »
karlis, here my map. Please, do this 4)open map with notepad and remove the vehicle field in any of the spawnpoint lines.(used to detect footspawn and therefore difference between normal race and sk) by yourself properly and you can upload it.