Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release Thirdperson plugin
#11
If you just type !thirdperson without 0 or 1 behind it the server crashes... fix needed
[Image: MaEIQ.png]
Reply

#12
se7en said he was gonna fix this
Reply

#13
Also when you type !thirdperson 1 everyone in chat can see that you wrote that (you should use ChatType.ChatNone inside the if-brackets)
[Image: MaEIQ.png]
Reply

#14
try /!thirdperson 1 , it worked on aiw
[Image: lQDUjba.jpg]
Reply

#15
(01-06-2012, 17:20)Pozzuh Wrote: If you just type !thirdperson without 0 or 1 behind it the server crashes... fix needed

yes i updated it 2 hours ago.

Code:
if (Message.Substring(13) != "0" && Message.Substring(13) != "1")
                {
                    TellClient(Client.ClientNum, "^1Wrong value", true);
                }
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#16
(01-06-2012, 18:26)Se7en Wrote:
(01-06-2012, 17:20)Pozzuh Wrote: If you just type !thirdperson without 0 or 1 behind it the server crashes... fix needed

yes i updated it 2 hours ago.

Code:
if (Message.Substring(13) != "0" && Message.Substring(13) != "1")
                {
                    TellClient(Client.ClientNum, "^1Wrong value", true);
                }

Nope. This didn't fix the problem. The problem is that when you type "!thirdperson" the string has 12 characters, and you search for a value at 13 which doesn't exist, so the game crashes.
[Image: MaEIQ.png]
Reply

#17
(01-06-2012, 18:41)Pozzuh Wrote:
(01-06-2012, 18:26)Se7en Wrote:
(01-06-2012, 17:20)Pozzuh Wrote: If you just type !thirdperson without 0 or 1 behind it the server crashes... fix needed

yes i updated it 2 hours ago.

Code:
if (Message.Substring(13) != "0" && Message.Substring(13) != "1")
                {
                    TellClient(Client.ClientNum, "^1Wrong value", true);
                }

Nope. This didn't fix the problem. The problem is that when you type "!thirdperson" the string has 12 characters, and you search for a value at 13 which doesn't exist, so the game crashes.

jariz said space between word and num counts as char
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#18
CSHARP Code
  1. else if (Message.Length<13)
  2. {
  3. TellClient(Client.ClientNum, "^1Wrong value", true);
  4. }
[Image: azuw.jpg]
Reply

#19
(01-06-2012, 18:23)OrangePL Wrote: try /!thirdperson 1 , it worked on aiw

thats just because someone made the plugin to work like that
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

#20
You need to update it...
Doesn't work with the new version of mw3 Sad
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Wink Plugin with !ban !kick and !tampban clemi555 3 4,167 11-09-2013, 09:21
Last Post: clemi555
  AntiNoScope Plugin clemi555 5 4,748 11-08-2013, 19:13
Last Post: clemi555
  [Release] Bunker Plugin 1.3 archit 68 41,565 10-30-2013, 11:59
Last Post: clacki
  Help Modifying plugin maverigh 5 5,670 10-19-2013, 10:29
Last Post: Nekochan
Shocked [Request] Switch plugin axel-le-meilleur 6 5,179 10-19-2013, 06:59
Last Post: iRoNinja
  [Release] Yurio Map Plugin Yurio 101 62,286 09-26-2013, 13:38
Last Post: First_Semyon
Brick [Release] v1.1 ChangeMap/NextMap Plugin without any configuration milchshake 23 18,638 09-23-2013, 13:18
Last Post: SgtLegend
  Help !say Plugin (like the !say from GodPlugin) Hallla 0 2,711 09-13-2013, 09:31
Last Post: Hallla
Rainbow [Release] MW3: Random Weapon Plugin V1 Nekochan 50 33,276 09-11-2013, 15:11
Last Post: EnVi Sweden Rocks
  Search Plugin Fluid Killcam N3xT_974 1 3,063 09-10-2013, 20:27
Last Post: Nekochan

Forum Jump:


Users browsing this thread:
3 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.