SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Gamemode Scripts

Reply
 
Thread Tools Display Modes
Old 06/12/2010, 11:33 AM   #11
PowerPC603
High-roller
 
Join Date: Nov 2010
Location: Belgium
Posts: 1,747
Reputation: 238
Default Re: My own trucking server (still in development)

@Lookin,
Yeah, I've played on truckmania before and I'm still playing there, but not as much.
I played it for more than a week and suddenly I was banned by Dr. Hax for money-cheat.
I ddn't cheat, but because of lag I got banned.
I just finished my mission and the server thought I cheated the payout (or something like that).

Then I started my own trucking server, as I figured I could get banned again when finishing a mission.

Some things are based on TruckMania (but still my own code), but the military/terrorist class will be my own implementation.

I'm also looking for a camera that can act as a speedtrap, to place them on several places around the map.
When the player is driving too fast near such a camera, he should get one star.
Otherwise the police-class doesn't have much to do.
Does anybody know the object-model that could function as one (looks like one)?

I'll be using IsPlayerInRangeOfPoint to check if a player is near a speedtrap.

@Lynn,
Yeak I'm just a beginner.
You can see in my profile that I joined this forum on 16/11/2010.

But I've programmed before (I created my own Arkanoid3D game with Blitz3D once).
But discussing this, would be off-topic

I've even modified my load/save functions to NOT use dini anymore (too much read-write operations as I read somewhere else).

Also on my todo-list: housing system.
PowerPC603 is offline   Reply With Quote
Old 06/12/2010, 07:41 PM   #12
[HUN]Poldzsiii
Big Clucker
 
[HUN]Poldzsiii's Avatar
 
Join Date: Oct 2010
Posts: 138
Reputation: 1
Default Re: My own trucking server (still in development)

woaaaaaw
very goood job
__________________
My Jobs:
[HUN]Poldzsiii is offline   Reply With Quote
Old 06/12/2010, 07:54 PM   #13
HostiGame
Little Clucker
 
HostiGame's Avatar
 
Join Date: Jul 2010
Posts: 10
Reputation: 0
Default Re: My own trucking server (still in development)

Looking good, keep it going! XD
HostiGame is offline   Reply With Quote
Old 06/12/2010, 08:07 PM   #14
Conroy
Huge Clucker
 
Join Date: Sep 2009
Location: Scotland
Posts: 442
Reputation: 16
Thumbs up Re: My own trucking server (still in development)

Great for a beginner, keep up the good work.

-Conroy
Conroy is offline   Reply With Quote
Old 06/12/2010, 08:19 PM   #15
PowerPC603
High-roller
 
Join Date: Nov 2010
Location: Belgium
Posts: 1,747
Reputation: 238
Default Re: My own trucking server (still in development)

I just spent several hours to find every bus-stop in Las Venturas (in the main city, not in the desert) to mark them on a map.
Now I need to get the coordinates, create some bus-routes and then busdriver class will be implemented.
The class is there already, but you cannot start a job as a busdriver yet, as there is no code/busroute defined.

I'll keep ya posted on the progress.
PowerPC603 is offline   Reply With Quote
Old 06/12/2010, 09:37 PM   #16
Miralem
Big Clucker
 
Join Date: Nov 2010
Location: Kingdom of Montenegro
Posts: 164
Reputation: 0
Default Re: My own trucking server (still in development)

--- Truckmania design a lot Although I do really respect a ~from-the-zero~ GM

------Miralem
Miralem is offline   Reply With Quote
Old 06/12/2010, 11:33 PM   #17
PowerPC603
High-roller
 
Join Date: Nov 2010
Location: Belgium
Posts: 1,747
Reputation: 238
Default Re: My own trucking server (still in development)

I've taken alot of trucking-missions from TruckMania, that's true. As a newbie, you have to start somewhere with a few ideas from a good server.
But I'll have to re-create all trucking routes, as some are somewhat strange.

TruckMania is the only online server I play, so I take a few hints, ideas and design-elements from them to put in my own.

Bus-routes are working already (most of the code is finished and working, I have 39 busstops in Las Venturas), but I need some more work on it, as it's not finished yet.
The game doesn't respond on the racecheckpoint yet when you've finished your bus-route.
Bus-routes can have up to 20 busstops in them, but they can be small as well (like 5 busstops).
On each busstop, the player gets a small fee (now fixed at $500, but will be changed to a value based on the number of passengers).
When you've completed your route, you're given 2 checkpoints:
- one regular checkpoint that's the startlocation of the route, so you can keep doing the same route over and over again
- one race-checkpoint which points you to the busdepot (here you can end the route)

The busroutes are my own this time.
They are located in Las Venturas instead of Los Santos (TruckMania).
PowerPC603 is offline   Reply With Quote
Old 07/12/2010, 01:22 AM   #18
<Jones>
Big Clucker
 
Join Date: Jul 2010
Posts: 65
Reputation: 0
Default Re: My own trucking server (still in development)

I don't understand your Cmds systeme ? Can you explain to me please.


++Jones++
<Jones> is offline   Reply With Quote
Old 07/12/2010, 06:56 AM   #19
[HUN]Poldzsiii
Big Clucker
 
[HUN]Poldzsiii's Avatar
 
Join Date: Oct 2010
Posts: 138
Reputation: 1
Default Re: My own trucking server (still in development)

very nice job
you make a new relase??
for the best GM:
mor missions
overload
more truck depots
speedcameras
House & Vehicle ownership
Convoy
speedo with fuel
Most Valued Worker Rank
and more...
__________________
My Jobs:
[HUN]Poldzsiii is offline   Reply With Quote
Old 07/12/2010, 01:20 PM   #20
PowerPC603
High-roller
 
Join Date: Nov 2010
Location: Belgium
Posts: 1,747
Reputation: 238
Default Re: My own trucking server (still in development)

@Jones:

It's standard dcmd protocol.
I followed this tutorial:
http://wiki.sa-mp.com/wiki/Creating_...g_The_Commands
and some other dcmd tutorials, like: http://wiki.sa-mp.com/wiki/Dcmd

@[HUN]Poldzsiii:
Quote:
mor missions
overload
more truck depots
speedcameras
House & Vehicle ownership
Convoy
speedo with fuel
Most Valued Worker Rank
and more...
There will be new and much more missions, even more goods to transport.
I just took some goods from TruckMania to get an idea about some goods/routes and to check if I could code my own system to split everything up based on the vehiclemodel (which works perfectly btw).

Loads can be overloaded already. You'll get 2 more stars on your wanted level and the police players will see you in red on the radar.
Certain goods are also wanted by the mafia, they'll need to steal your truck/trailer, but mafia-class isn't implemented yet.
For being overloaded, you get 25% extra bonus when you deliver your load (doesn't matter if you got fined by the police or not, being fined doesn't reduce your load after all).
For a mafia-load, you get a 50% bonus when you deliver the load (when the mafia didn't get a chance to steal it, otherwise your mission fails).

There are already 8 truck depots, so that will do for now.
Maybe later on I could add some more.

I'm currently looking for a proper speedcamera, but cannot find a proper camera-model.
Has anybody an idea for those, which model-number could fit as a speedtrap camera?

Housing system will come too, you'll be able to buy a vehicle as soon as the housing system is complete (you'll buy the vehicle from within your house). Not sure about this though.

Convoys won't be implemented soon, but could some later on. I'll have to think about something like this about how it's gonna work.

The speedometer is already implemented, fuel-gauge yet to come, as well as refuelling system.

Most Valued Worker rank will also come if I can find some advantages for it when you get it.

I'll be releasing my gamemode often when time goes by.
Everytime a class is finished, I'll be releasing it.

More features will come too when everything else is complete.
Like fragile loads, this will come too.
You'll be transporting fragile loads from point A to B.
But your truck cannot take damage.
As soon as your truck takes damage, your mission will fail.

Last edited by PowerPC603; 07/12/2010 at 01:35 PM.
PowerPC603 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Ajuda] PPC_TRUCKING ThiagoMK PortuguÍs/Portuguese 4 30/07/2013 06:44 PM
Fix id Bug in PPC_Trucking Geeboi_Mehdi Client Support 11 18/05/2013 09:02 PM
PPC_Trucking Baumann Scripting Help 1 07/12/2012 04:28 PM
PPC_Trucking Baumann Scripting Help 1 02/12/2012 03:43 PM
PPC_Trucking help Private200 Scripting Help 1 16/11/2012 09:23 AM


All times are GMT. The time now is 11:02 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.