Jump to content

Taxi & Bus | Transport for Arma


mgm

Recommended Posts

Have you ever continue mgm with a script?

Thanks for your interest. Sorry, I've posted a Transport for Arma development update but I forgot to update this thread!

Here copying the latest news below:

 

<snip>

thanks, my Transport for Arma script coming along really well, hopefully I will have a initial Public Alpha release will be out soon - I just need to write one last module (pay as you go payment system).

I will be glad if you choose to use it as a base for some of your future work!

 

 

As per above, this script is in full steam development. I've just fixed issue #86 - pretty good for a zero user solution, innit? :P

Current internal development version is 0.2.6; the script, as it stands today can do the following:

  • customizable Fixed Destination Taxis feature is working

    from Taxi Callpoint A,B,C player call and get in a taxi, taxi will take him to destination 1,2,3].

    All these A,B,C, and 1,2,3 are configured in masterConfig file.

    Epoch krypto cash based payment system is working.

     

  • customizable clickNGo Taxis feature is working but not fully charging for the entirety of the journey see below.

    from anywhere on map, player call a taxi using a hotkey, taxi will take him to the destination which player will set by clickin on the map].

    Epoch krypto cash based initial fee system is working.

    What is NOT implemented yet:

    THERE IS JUST ONE THING HOLDING THE INITIAL PUBLIC ALPHA RELEASE BACK

    As the Taxi keeps driving, based on TIME (not distance), it will keep charging the player..

    I think this method is good because player picks a destination when ordering the clickNGo Taxi.

    Should the player 'change mind',

    they can shorten a trip that was 'ordered' as a looong trip initially

    or vice versa; can extend a short initial trip to travel from one end of the map to the other.

    Payment will be correct in any case.

    This should take me about a few hours to implement and test.

Possibly this week is the release date I have on mind....

Being tested only by one guy on one server so far, the initial version might tank miserably, so just play with it on your test server.

Install it on your production server at your own risk - no refunds! :)

Link to comment
Share on other sites

As posted in the Taxi thread, I've decided to publish the script in its current state

i.e. I won't hold alpha release back till I have all major milestones ready such as buses, airtaxis, seataxis, fixers, retaliation units, db hookup if possible and so on (I have a long list).

Looking forward to receiving test run feedback from the early adopters this coming weekend.

Expect bugs & don't hurt my feelings when reporting them lol

It is GNU GPLv3 free software, code will be single-lined for now. I will clean up, document and un-single-line version 1.0.

Link to comment
Share on other sites

post it on github already! =) i have a airtaxi script in development, maybe we can merge/use your framework?

I had to stay late at work last night which sort of screwed schedule - I am still planning an initial public alpha release this weekend though.

I read axeman's AI bus thread on open dayz from 2013 (all 283 posts). A lot of lessons learned from there technical + the early fork that just happened in his thread. Even though a strong supporter of free software I think I will initially release in obfuscated mode (I already have obfuscation scripts from work, will take 10 mins to adapt). The point is not being a dbag but I don't feel my code is ready to be naked yet lol and really don't need a fork in version zero point something. Of course a dedicated person can unobfuscate it as I won't inject any extra code to thwart attempts but with that effort they can just rewrite from scratch anyway better utilization of their time.

I will open up the unobfuscated and commented code at version 1.0 (if not before) at which point forks and/or code contributions will be most welcome. my point with this is those who want to test/play with it on test servers can start playing while I develop. Scripters can either wait or write their own as it's only 5k lines. Took me about 45 days (to learn coding and code) an experienced scripted can do in a week or two.

Cooperation is quite welcome but due to the above it will have to wait a bit I guess.

Link to comment
Share on other sites

INITIAL PUBLIC ALPHA RELEASE

 

Release Notes

When I started this project, I wanted to have taxis (on my server) so that every time AI kills me I wouldn't have to RUN like DayZ Stand alone (coin on W key, anyone?)

I didn't want to put this much time into it honestly, just started as a quick weekend 'hack', this was -obviously- a gross exaggeration of my skills.

It is almost funny as I didn't know how to SQF code I was hoping to quickly 'cover the basics' and finish the project over the weekend.

 

In due time, I realized I was way over my head. gitStats tell me in the last 48 days, I was active on this project for 47 days. I did not play Epoch (except testing TfA) for a single minute for the last 48 days.
Fast forward, eventually I made something that -seemingly- works.

 

This is version 0.3.0, in its short (or long?) history of 47 days it features 571 commits containing 11081 lines of code of which 5999 lines is actual (non-comment) code.

A complete rewrite has been enjoyed a great many nights now.

I will continue working on this but I will release it as is - it is becoming more and more clear to me, if I wait for 'completion' you guys will be playing Arma 10 by then...

I think I am trying to do too much for a script as of today I have the following in my notes:

  • TODO TODAY list at the top = 95 items (lol)
  • ADD TO NEXT ALPHA VERSION list = 58 items
  • COMPLETE BEFORE SHIPPING FIRST PUBLIC ALPHA list = 108 items

As I said, I will release now as it is, super-alpha please let me know if you actually try this...

I might suck at initial packing so please let me know if you experience any issues...

 

Initial public alpha release is now available here.

If you test this, please do let me know what you think... I'm very interested in all positive feedback :P

 

some development stats in spoiler.


gitStats for: mgmTfA__DEVELOPMENT_DIR

Generated 2015-04-12 17:25:37 (in 35 seconds)
GeneratorGitStats (version 0f5d9e9)
Report Period 2015-02-24 00:29:47 to 2015-04-12 15:17:54
Age 48 days, 47 active days (97.92%)
Total Files 143
Total Lines of Code 20416 (159732 added, 139316 removed)
Total Commits 571 (average 12.1 commits per active day, 11.9 per all days)
Authors 2 -- 2nd dude is my mobile phone userID :D

Note that gitStats is not good enough in counting # of lines, my own script (which is better for this job) say:
LINES_ALL_TOTAL         : 11081
LINES_ALL_EXCEPT_COMMENTS               : 7327
LINES_COMMENTS          : 3755
LINES_FINAL_ACTUAL_CODE         : 5999


 

Link to comment
Share on other sites

Looks awesome, mgm nice work!!

Thanks :)

 

update: just cleaned up documented some more the only configuration file. I will (really) upload the files soon, are there any alpha test users available to give it a quick spin and report initial feedback?

at this point worked or didn't work would be a good start as I have doubts about my release engineering process. my make world script is about 90 lines long command chained and looks cryptic.

Link to comment
Share on other sites

I have noticed the initial public alpha release package had an issue breaking Fixed Destination Taxis feature.

 

This is a regression introduced in The Mad Dash to Initial Public Alpha Release, minutes before the upload - I have since updated the release package.

The faulty release stayed online about 30 minutes if you downloaded this mod immediately after release, your package may be broken.

 

If your Fixed Destination Taxis is not working, please re-download using the sorry for any inconvenience.

 

 

 

 

P.S.: Faulty release package file signature: aad31c0632808b5a6114494ca1b9af74bf1882e8

Link to comment
Share on other sites

Ok, I will get back to this when I have a little more time but just a quick question I take it the virtual man has to be added to your existing mission.sqm somewhere.

Not really - all you need is few steps there is nothing about mission.sqm in the instructions and it is accurate -- you do not need to add/remove anything to any other file.

As per instructions linked above, just extract the client-side PBO, take out the directory MPMissions\custom\mgmTfA\ and do as the instructions say. If it doesn't work let's meet here :)

 

The directory underlined above contains script1.sqf, script2.sqf, picture1.jpg and so on. You will use your own existing mission.sqm as we don't need to touch (your existing) mission.sqm at all.

 

 

EDIT: Installation instructions updated (improved).

Link to comment
Share on other sites

Which button is the taxi called with the key "ins" it does not work

Definitely INS working for me.

Do you have the Epoch AntiHack (or any other AntiHack) enabled? Assuming this is a test server, I suggest you turn it off for test purposes, see if it works without AH.

 

Unrelated -just curious- (since you are the first tester) if you go to a spawn trader, can you see the 'Taxi Dispatcher' guy standing out there and can you call a Fixed Destination Taxi by talking to him?

 

Okay, I tested this on my end. During development I had AH enabled but I was an admin so it didn't get in my way. Now, just for test, removed myself from admins and clickNgo call-a-taxi hotkey (INS) stopped working.

Lesson learned #1: If Epoch AH is enabled and player is not an admin, clickNGo call-a-taxi hotkey IS NOT WORKING.

Lesson learned #2: If Epoch AH is enabled and player is not an admin, Fixed Destination Taxis IS WORKING.

I have added the above information to the Issue Tracker.

Also has been updated

 

Fixed Destination Taxis can be called by speaking with a Taxi Dispatcher at a Call-a-Taxi-Point - as per picture below.

ceKSE1E.jpg

Link to comment
Share on other sites

I use InfiStar, because it can not be, since the other taxi script indeed läuft.rgepoch

At the Central Spawn are 4 trader but no 'Taxi Dispatcher'

Dispatchers & map markers are all added via server-side script so even your custom AH should not have the power to stop it, that is, if server-side scripts are executed properly...

When you look at your map, do you see the 3 Taxi stops marked?

 

 

 

QAvQW1z.jpg

 

There should be a guy standing there - the Taxi Dispatcher, one in each spawn trader. See the screenshot in

Link to comment
Share on other sites

Not really - all you need is few steps there is nothing about mission.sqm in the instructions and it is accurate -- you do not need to add/remove anything to any other file.

As per instructions linked above, just extract the client-side PBO, take out the directory MPMissions\custom\mgmTfA\ and do as the instructions say. If it doesn't work let's meet here :)

 

The directory underlined above contains script1.sqf, script2.sqf, picture1.jpg and so on. You will use your own existing mission.sqm as we don't need to touch (your existing) mission.sqm at all.

 

 

EDIT: Installation instructions updated (improved).

 

My Bad looking at it in a hurry, I have installed but I need to go over it because I am not seeing any Taxi Dispatcher so must of got something wrong.

 

In the clientside init the line  if (!isServer) then { [] call compile preprocessFileLineNumbers "custom\mgmTfA\psczvuznuilitltt.sqf"; };

 

Does that have to be the whole line as I already have if (!isServer) then in there already.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...