Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bank / Atm problem #1

Open
TazziKid opened this issue Aug 7, 2022 · 5 comments
Open

Bank / Atm problem #1

TazziKid opened this issue Aug 7, 2022 · 5 comments

Comments

@TazziKid
Copy link

TazziKid commented Aug 7, 2022

Bank / ATM system is broken. will not let you deposit / withdraw

@LakeYS
Copy link

LakeYS commented Aug 7, 2022

This version of CityRPG is long-broken (along with most others) from an update to the game. There's a cleaned up version here but it's missing the update fix.

Here's the most recent patched up version I have on hand:
GameMode_TysCityRPG.zip

@LakeYS
Copy link

LakeYS commented Aug 7, 2022

Some info on the problem, reposted from Discord:

Replication for the info brick problem:

%test = 1.1; if(%test == 1.1) echo("torkscript");

The line will not echo, hence why all of the info brick stages in CityRPG break. The fix is easy:

%test = 1.1; if(%test == atof(1.1)) echo("torkscript");

This has to be applied to all of the info bricks in classic CityRP mods to fix them.

Regex replacers to fix this for most CityRPG variants:
Find: mFloor\(%client.stage\) == (.+)
Replace: mFloor(%client.stage) == atof($1)

Find: %client.stage == (.+)
Replace: %client.stage == atof($1)

@TazziKid
Copy link
Author

TazziKid commented Aug 8, 2022

That's actually a fast reply, thank you! I will try my best to fix it with the info you gave me. TBH my coding skills are minimal. I am playing with the idea of getting a City RPG server going. Its been like 2 years since someone has hosted. I remember back in the day when you hosted, it was pretty good.

@LakeYS
Copy link

LakeYS commented Aug 8, 2022

No problem! Just happened to have notifications on for this repository. Let me know if I can help with anything else. Happy to do what I can to help you get a server up and going.

If you use Discord, you can add me via Lake#4898 or e-mail me at the address on my profile here.

@TazziKid
Copy link
Author

TazziKid commented Aug 8, 2022

Added you on discord. i need extra help please. im having trouble finding the lines of text you posted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants