free

News

collapse

User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Recent Posts

NOTICE OF PARKING ENFORCEMENT CHANGES by Huntsman
[June 19, 2025, 05:22:50 pm]


Re: Stopping by by Sinister
[June 08, 2025, 01:58:04 pm]


Re: Stopping by by Ehks
[June 04, 2025, 12:25:17 am]


Re: Rest in peace by Stefanrsb
[June 02, 2025, 03:38:02 am]


Re: [SA:MP]House of Sforza | The Elite Power | Estd. 2006 | LS - LV by Stefanrsb
[June 02, 2025, 03:09:22 am]


Re: The Soprano Family | Royal Loyalty by Stefanrsb
[June 02, 2025, 03:00:31 am]


Re: The Gvardia Family || San Fierro's Main Power || Best criminal group of 09/10/11 by Stefanrsb
[June 02, 2025, 02:47:01 am]


Re: BALLAS | In memory of INFERNO 9 and NBA by Stefanrsb
[June 02, 2025, 02:31:29 am]


Re: Count to 1,000,000. by Stefanrsb
[June 02, 2025, 02:15:04 am]


Re: Stopping by by Traser
[June 01, 2025, 10:23:13 pm]


Re: Stopping by by Old Catzu
[May 18, 2025, 07:27:06 pm]


Re: Stopping by by TheRock
[May 18, 2025, 06:44:49 am]

* Who's Online

  • Dot Guests: 434
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Birthday Calender

July 2025
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5
6 7 [8] 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31

SCRIPT UPDATE - no more client crashes!

David_Omid · 2137

0 Members and 1 Guest are viewing this topic.

Offline David_OmidTopic starter

  • Hero
  • ****
    • Posts: 5030
    With us since: 31/03/2008
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
on: September 11, 2010, 07:39:40 pm
Hey guys,


This may sound like a simple bug fix but as you may already know, we have had this problem long since even the RS3 scripts. I consider this to be an update if anything.

The problem:

Players/members of administration would use commands like /namehouse, /namebizz and display announcements etc with the "~" character in certain combinations in order to format their text. For example, "~r~ [test]" would make the text red.

HOWEVER, a BIG problem we had was that people would by accident use these characters in an incorrect way, such as "~r [text]". Putting an uneven number of "~" characters would crash all clients that were sent the messages.

What did this mean? Well of course, if a player were to name their house or business incorrectly, anyone near the entry point would crash as soon as they saw the name of the place and would never be able to spawn unless administration somehow helped them and changed the name of the property.

Sometimes members of administration have crashed everyone on the server by sending an invalid announcement.


A terrible fault which caused a lot of problems...UNTIL NOW!

I realised while doing C++ that I can use a certain mathematical function to work out if someone has input an invalid number of "~" characters. When I tried to do this with the Pawn language, it worked! Therefore, we will no longer have this problem!


Commands affected:

All administration ones (not named here)
/namehouse
/namebizz


This fix will be active after the next server restart.




Offline Traser

  • Orc
  • *****
    • Posts: 5137
    With us since: 15/07/2008
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • Discord: Traser#9638
Reply #1 on: September 11, 2010, 07:42:39 pm
Lol, nice




Nathan

  • Guest
Reply #2 on: September 11, 2010, 07:46:10 pm
Thanks David! This will certainly help!



Offline Pandalink

  • Araatus Kumichō
  • Orc
  • *****
    • Posts: 10358
  • The Strategist
  • With us since: 08/05/2007
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • The Araatus Yakuza
  • SA:MP: Panda_Araatus
Reply #3 on: September 11, 2010, 07:47:09 pm
Sometimes members of administration have crashed everyone on the server by sending an invalid announcement.

my bad

Panda Araatus  -  Sovereign Overseer  -  The Araatus Yakuza


Offline Hidduh

  • Hero
  • ****
    • Posts: 3084
    With us since: 23/07/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #4 on: September 11, 2010, 07:47:48 pm
Thanks!



Offline VeLuX

  • Proud Argonath
  • Regular
  • **
    • Posts: 1177
    With us since: 10/10/2008
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #5 on: September 11, 2010, 07:57:26 pm
Good Job



Jesus has cured one blind man, but blinded millions of others.


Offline Murdock

  • Regular
  • **
    • Posts: 971
    With us since: 10/06/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #6 on: September 11, 2010, 08:58:49 pm
are pigs flying?
NO its David Omid rocks da' scripts!



Offline Webster

  • Hero
  • ****
    • Posts: 3985
    With us since: 01/07/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #7 on: September 11, 2010, 09:10:12 pm
Nice job david :)

JAY HUNTER


Offline newton_alex

  • Veteran
  • ***
    • Posts: 2711
    • atnewton
  • With us since: 20/10/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears

Offline Zaila

  • Orc
  • *****
    • Posts: 5808
  • Semper fi.
  • With us since: 20/12/2008
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #9 on: September 11, 2010, 09:11:29 pm


All PMs saying "Look at my unban request!!11" will be ignored.

In need of assistance? Please send me a forum PM instead of contacting me ingame. Whenever i am ingame, i'm most likely busy with something else which means i wont be able to help you there and then.


Offline TheRock

  • FBI Agent
  • Hero
  • ****
    • Posts: 4801
  • Federal Bureau of Investigations
  • With us since: 01/02/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • SA:MP: TheRock_Kolta
Reply #10 on: September 11, 2010, 09:19:35 pm
Great work David.

TheRock Kolta,
FBI Special Agent,
Los Santos Government


Offline Vince

  • ELWISH FOR HOPE
  • Veteran
  • ***
    • Posts: 2648
  • Il Duce
  • With us since: 20/01/2008
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #11 on: September 11, 2010, 09:31:53 pm

Retired Deputy Chief
2007 - 2011


Offline Hevar.

  • Real eyes realize real lies.
  • Hero
  • ****
    • Posts: 3776
    With us since: 21/08/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • SA:MP: TeaM_Hevar
  • V:MP: TeaM_Hevar
Reply #12 on: September 12, 2010, 12:48:03 am
Nice David ^^


TeaM  - team.argonathrpg.com - Be a part of TeaM, Join us!


Offline Leon.

  • The Butcher
  • Veteran
  • ***
    • Posts: 5385
  • Gvardia Family
  • With us since: 17/09/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • United Republic of Metalheads
Reply #13 on: September 12, 2010, 04:23:10 am
I want to fuck you beyond so many dimensions that I cannot even begin to describe.



Offline [NP]Monte Montague

  • The
  • Hero
  • ****
    • Posts: 3895
    • monte_montague
  • With us since: 18/05/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • Parallel Universe Co-Operative Gaming Community
  • SA:MP: [NP]Monte.Montague
Reply #14 on: September 12, 2010, 02:18:03 pm
I want to f**k you beyond so many dimensions that I cannot even begin to describe.

How about you keep your excitement to your life long companion - your left/ right hand  :lol:

Thanks  David :3

ParUni.NET - The Co-Operative Gaming Community


 


free
SimplePortal 2.3.7 © 2008-2025, SimplePortal