Project Zomboid

Project Zomboid

Bus Ride - Teleporter Mod
31 Comments
Killazoo Jul 14 @ 6:12pm 
this works for me. why no stars?
Kahoot PTSD Survivor Mar 21 @ 2:27pm 
only 8 locations is the limit?
Glytch3r  [author] Oct 14, 2024 @ 11:54pm 
@Susan
i may have fixed this issue now
Glytch3r  [author] Oct 9, 2024 @ 9:27am 
@susan im fixing psycho zed atm
then tank zed
then ill get to this
Mit Oct 8, 2024 @ 3:00pm 
@Glytch3r Can you check the error I mentioned below? I tried running both in MP and SP and got the same error.
Mit Sep 29, 2024 @ 11:41pm 
I found a problem, even if there is not enough coin in the person, the passenger can still travel.
Glytch3r  [author] Sep 28, 2024 @ 5:58am 
@A im dumb i pasted on the wrong folder.. sorry it should be fixed now
Alex Sep 27, 2024 @ 4:13pm 
@Glytch3r Unfortunately it looks like the issue is still persisting.
https://prnt.sc/A4JfEw3ZahWd
Glytch3r  [author] Sep 27, 2024 @ 1:57pm 
@A fixed it
Alex Sep 27, 2024 @ 8:30am 
@Glytch3r this could be the culprit. We have the allow travel to all enabled but per our understanding AllowTravelToAll pertains to allowing travel to all but the player still has to right click a terminal, which would be preferable as we dont want our players teleporting freely from anywhere.

if bool or isAdmin() or SandboxVars.BusRideTiles.AllowTravelToAll or BusRide.isCanTPCenter() then
shouldShow = true
end
Alex Sep 26, 2024 @ 5:03pm 
@Glytch3r Unfortunately with the recent code changes it's started appearing for all players. The items in the submenu do not appear, but the menu option itself does appear for all players. Screenshot provided. No weird settings on the server. This player does not have any perms.

https://i.imgur.com/BI7Tv8C.png
Glytch3r  [author] Sep 25, 2024 @ 11:48pm 
@A i just checked and i dont think your report is accurate

if isAdmin() then

local bus = opt:addOption("Admin: ")
bus.iconTexture = getTexture("media/ui/Bus_context_icon.png")
local opt2 = ISContextMenu:getNew(opt)
opt:addSubMenu(bus, opt2)



local optTip = opt2:addOption('Store Coordinates to Clipboard', worldobjects, function()
BusRide.whereAmI()
end)

local tip = ISWorldObjectContextMenu.addToolTip()
tip:setName('Copy then Paste')
local x, y, z = obj:getX(), obj:getY(), obj:getZ()
tip.description = tostring(x).. ', '..tostring(y)..', '.. tostring(z)
optTip.toolTip = tip

opt2:addOption('Spawn Money x1', worldobjects, function()
inv:AddItems(BusRide.getCurrency(), 1)
end)
opt2:addOption('Spawn Money x10', worldobjects, function()
inv:AddItems(BusRide.getCurrency(), 10)
end)
opt2:addOption('Spawn Money x20', worldobjects, function()
inv:AddItems(BusRide.getCurrency(), 20)
end)
end
Glytch3r  [author] Sep 25, 2024 @ 7:37pm 
@A ill look at it soon, thnx for letting me know
Alex Sep 25, 2024 @ 1:56am 
@Glytch3r All good, thank you for the explanation.
Slight problem with the mod at the moment is all normal players are able to see the Bus Ride context menu that is meant for admins. They dont get any of the options but it is still in every players menu.
Glytch3r  [author] Sep 23, 2024 @ 6:04am 
@A sorry but there was something wrong with steam
i updated to try and push the update but the cliwnt who commissioned it said nothing changed
not sure why

and also there was an error with vanilla functions for some reason but this is done and final
so no need to worry


sorry guys
Alex Sep 22, 2024 @ 1:43pm 
@Glytch3r Hate to be that guy, but is there any way we could lessen the amount of updates this is getting? 7 mod updates in less than 17 hours is a bit much...
Glytch3r  [author] Sep 21, 2024 @ 9:22pm 
updated the mod
Glytch3r  [author] Sep 15, 2024 @ 11:45pm 
@A idk yet the client who commissioned this is on vacation rn
Alex Sep 15, 2024 @ 8:06am 
@Glytch3r Yeah it is. Is this something that will be patched by chance?
Glytch3r  [author] Sep 10, 2024 @ 12:34pm 
@A this is quite a bug, have you turned off anti cheat?
Alex Sep 9, 2024 @ 6:12pm 
@Glytch3r Using a bus stop to teleport to another bus stop with the Allow Travel To All, lets say if we set up the bus stop 1 at 1,1,0, and we put bus stop 5 at 5.5,0, if we take bus stop 1 to teleport to bus stop 5, it teleports the player forward maybe 2 tiles into the teleport tile and then nothing happens.
The same happens if you try any other teleport to any other location.
Alex Sep 9, 2024 @ 6:07pm 
@Glytch3r Every single time, it's also set up just fine. All of our other mods work perfectly without issue.
Larks_Flight Sep 9, 2024 @ 4:47pm 
I have the same issue. It seems that the stops either teleport the player to where they already are, or it mixes up the bus stops to the point they all will go to the same place. Basically, It doesnt work.
@A Is correct sadly.
Glytch3r  [author] Sep 7, 2024 @ 2:14pm 
also maybe you did not set it up correctly?
Glytch3r  [author] Sep 7, 2024 @ 2:13pm 
@A does it happen all the time? this might cuz of anti cheatm disable it
Alex Sep 7, 2024 @ 2:12pm 
There seems to be a bug with "Allow Travel To All" functionality. Cant seem to be able to teleport to any of the other places. Just teleports the player forward a little bit and then nothing happens.
Glytch3r  [author] Aug 15, 2024 @ 2:46am 
@Seipherwood fixed
Seipherwood Aug 15, 2024 @ 12:53am 
Seems to be something wrong with the mod. Sprite has Tiles_8 twice, should it not be 4 then 8?

BusRideTiles_items

item TravelDirectory_2
{
DisplayCategory = Furniture,
Type = Moveable,
Icon = default,
Weight = 0.5,
DisplayName = TravelDirectory_2,
WorldObjectSprite = BusRideTiles_8,
}

item TravelDirectory_3
{
DisplayCategory = Furniture,
Type = Moveable,
Icon = default,
Weight = 0.5,
DisplayName = TravelDirectory_3,
WorldObjectSprite = BusRideTiles_8,
Glytch3r  [author] Aug 10, 2024 @ 6:17pm 
@Vsher not sure what you mean, contact via discord maybe
Gestr Aug 8, 2024 @ 8:14am 
I now its a comiision but, is possible add a price per location and simplify the sandbox ?

Location1
Price
Coords X; Y; Z

? :)
Gestr Aug 8, 2024 @ 8:13am 
sandbox may wrong ?