Author Topic: GRID [WIP]  (Read 6308 times)

0 Members and 1 Guest are viewing this topic.

Offline [MAF]Rac3r

  • Leader
  • Posts: 2,807
  • Well, this is embarrassing.
    • View Profile
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.

« Last Edit: February 08, 2010, 11:07:15 am by [UK]Rac3r »

Offline ﱡ קּﻰﺢ Love

  • Admin
  • Posts: 1,936
  • Elements of life: Air, Water, Oil, Fuel
    • View Profile
    • LSR Forum
Re: GRID [WIP]
« Reply #1 on: February 05, 2010, 10:52:24 pm »
Good luck Rick.Can we be able to pick grid shape on ourselves in buildmode ? Like old 2D system or 4 on 4 system etc. ? Would it be nice ? I feel confused while typing it...
Sign-A-True

Offline [MAF]falky

  • Admin
  • Posts: 2,750
    • View Profile
Re: GRID [WIP]
« Reply #2 on: February 06, 2010, 01:36:09 am »
Those who dare taketh on teh mighty bugz0r grid has to be absolutely insane.

So good luck R. :D

Offline [MAF]Rac3r

  • Leader
  • Posts: 2,807
  • Well, this is embarrassing.
    • View Profile
Re: GRID [WIP]
« Reply #3 on: February 06, 2010, 07:53:41 am »
Cheers.

I just realised your buildmode tutorial, but don't worry. By default it will be 2 rows so there won't be any problems there.

I'm not good with MS Paint, but I think it will give you a good picture of the way the grid will look with a bit of buildmode tweaking.


Offline ﱡ קּﻰﺢ Love

  • Admin
  • Posts: 1,936
  • Elements of life: Air, Water, Oil, Fuel
    • View Profile
    • LSR Forum
Re: GRID [WIP] [Testing Day Sunday]
« Reply #4 on: February 06, 2010, 09:16:07 pm »
I didnt get much from that picture. :L Grid positions will look at the first checkpoint by itself and wont care to what players set it to ? So its possible to make a grid that starts against each other at each sides of street.

or.... What?!? :L
Sign-A-True

Offline [MAF]falky

  • Admin
  • Posts: 2,750
    • View Profile
Re: GRID [WIP] [Testing Day Sunday]
« Reply #5 on: February 07, 2010, 06:23:33 am »
Hit me on MSN later when you're about to test :L

Offline [MAF]Rac3r

  • Leader
  • Posts: 2,807
  • Well, this is embarrassing.
    • View Profile
Re: GRID [WIP]
« Reply #6 on: February 08, 2010, 11:11:46 am »
I did start the new coding for the grid, but after loads of editing it's a lot similar now to the old grid. But with a few good fixes.

  • 100% accurate at giving players a vehicle
  • Instant grid (no more waiting)
  • Added parkour/jetpack style grid
  • GTAIV instantly puts passenger in vehicle (also added support for 4 door vehicles)

Problems: (WIP)
  • GTAIV (Driver isn't being put in vehicle)
  • New joins or new spawns can run freely on grid

Offline ﱡ קּﻰﺢ Love

  • Admin
  • Posts: 1,936
  • Elements of life: Air, Water, Oil, Fuel
    • View Profile
    • LSR Forum
Re: GRID [WIP]
« Reply #7 on: February 08, 2010, 12:27:24 pm »
Added parkour/jetpack style grid. Yay no more player inside player trouble. :D Nice work Racer.Now you hold the code of grid on the hand, you can reach up as much as you want :)
Sign-A-True

Offline [MAF]Rac3r

  • Leader
  • Posts: 2,807
  • Well, this is embarrassing.
    • View Profile
Re: GRID [WIP]
« Reply #8 on: February 08, 2010, 01:48:21 pm »
Indeed Love.  ;D

Grid code is a lot more easy to handle now, so any suggestions will be easy to implement.

Offline [MAF]Rac3r

  • Leader
  • Posts: 2,807
  • Well, this is embarrassing.
    • View Profile
Re: GRID [WIP]
« Reply #9 on: February 11, 2010, 09:51:13 pm »
Touch wood, I haven't had the no car bug since the final update. I've seen that Pyrofox, mooman and Gen report the problem.
I'm fairly certain we can now handle 100 players grids.

The ranking textdraw is still causing problems (20+  players timed out)

Offline [MAF]Snoopy

  • Posts: 14,540
    • View Profile
Re: GRID [WIP]
« Reply #10 on: February 11, 2010, 10:03:32 pm »
I haven't had the no car bug since the final update. I've seen that Pyrofox, mooman and Gen report the problem.

you can add me to that list now.

Offline [MAF]Cthulhu

  • Admin
  • Posts: 6,331
  • Trance, Progressive, Techno <3
    • View Profile
  • In-game name: [MAF]Phobos
Re: GRID [WIP]
« Reply #11 on: February 11, 2010, 10:06:34 pm »
Me too.

Offline [MAF]Rac3r

  • Leader
  • Posts: 2,807
  • Well, this is embarrassing.
    • View Profile
Re: GRID [WIP]
« Reply #12 on: February 11, 2010, 10:51:34 pm »
Quote
[11:51:30] [chat] [TheLastAirbender]: which is better samp or mta
[11:51:36] [chat] [mooman]: mta go play that
:L

Code: [Select]
[11:49:29] [DEBUG] [TTVehicle 17] Player [SFX]Falco355
[11:49:29] [DEBUG] [TT 17] Player [SFX]Falco355(11)
[11:49:29] [DEBUG] Created Grid [TT] 9
[11:49:38] [chat] [[SFX]Falco355]: and no car
Good report.
Code: [Select]
[15:23:47] [chat] [[Swe]Epicnoob]: No car :sWasn't even in driver lineup.
Code: [Select]
[00:08:37] [DEBUG] [TTVehicle 57] Player Pino
[00:08:37] [DEBUG] [TTVehicle 58] Player [UK]Snoopy
[00:08:37] [DEBUG] [TTVehicle 59] Player Mad_eYes
[00:08:37] [DEBUG] [TTVehicle 60] Player [DOK]Harrymaz09
[00:08:37] [DEBUG] [TTVehicle 61] Player [NNF]Cesconetto
[00:08:37] [DEBUG] [TTVehicle 62] Player pod
[00:09:38] [chat] [Mad_eYes]: I got no car in the begining, thinked that the race is buged

Code: [Select]
[11:44:08] [chat] [Static]: aww no car :(
Code: [Select]
[17:06:31] [DEBUG] [Vehicle 61] Player [FSR]Devil666
[17:06:31] [DEBUG] [PutPlayerVeh 61] Player [FSR]Devil666(1)  Score 256
[17:08:04] [chat] [[FSR]Devil666]: wtf no car
Can't be from the main race, it took 1 minute 30 to reply


If you say no car, we can keep track of it.

Offline ﱡ קּﻰﺢ Love

  • Admin
  • Posts: 1,936
  • Elements of life: Air, Water, Oil, Fuel
    • View Profile
    • LSR Forum
Re: GRID [WIP]
« Reply #13 on: February 11, 2010, 11:49:44 pm »
Ok we are starting to spam no cars every 30 minutes k ? :L
I never had any grid problem yet.Only bug is no car for now (hopefully not anymore) ?
Sign-A-True

Offline [MAF]Rac3r

  • Leader
  • Posts: 2,807
  • Well, this is embarrassing.
    • View Profile
Re: GRID [WIP]
« Reply #14 on: February 12, 2010, 08:43:34 am »
Just say no car.

Or just complain about it without any way of finding out why it happend. Then constantly keep moaning afterwards about it.

It won't get fixed if we can't track the problem.



Added a IS_VEHICLE_STREAMED_IN check, let me know if you have the no car bug by typing "no car".

I can then check the logs.

Or don't.
« Last Edit: February 12, 2010, 08:54:02 am by [UK]Rac3r »

Offline ﱡ קּﻰﺢ Love

  • Admin
  • Posts: 1,936
  • Elements of life: Air, Water, Oil, Fuel
    • View Profile
    • LSR Forum
Re: GRID [WIP]
« Reply #15 on: February 12, 2010, 09:02:26 pm »
Of course man, ill be doing the best to help you and doing the least to get you stuck.Dont get me wrong on that post. :) JK
Sign-A-True