Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - OkieDokie
1
#03a9f4]* An error occured [#ffffff]the index 'Language' does not exist [#03a9f4]at origin [#ffffff]/home/vlmp/scripts/Miscs/Message.nut [#03a9f4]line no [#ffffff]103 [#03a9f4]function [#ffffff]unknown

Error keeps appearing, forcing players who connected before this happened to  keep playing
And if someone new tries to join they cannot get in.

Any suggestions ? quick fixes ?
2
its only the line at 103 though :/
3
ok so, does this mean im gonna have to change everyline like that, cause only error is in line 103 ?

but theres multiple lines written with that index
4
Any possible chance Umar you can contact me on discord ? i could screenshare
5
this is driving me nuts ! ???
6
than more errors appear in the scripts/events/player folders for those .nut script files. -.- ugh so is it possible to just fix this error and not have anymore pop up, the script loads, everything seems to be working, just crashes on player join, and we can talk in server, basically with no scripts and shit loaded at all.
7
i've tried even removing language from the lines, ive tried like all kinds of shit, the scripts still load, but crash when someone connects.
8
do you mean the .nut file of playerjoin or you talking about the errorcode in the server console when a player connects and crashes scripts

That would be this one



at origin: /home/vlmp/scripts/Miscs/Message.nut: 103, function: unknown
[ERR] [Locals]  [type]: [#03a9f4]
        [element]: (array : 0x0x2584b30)
        [vargv]: (array : 0x0x95a3990)
        [player]: 0
        [st]: (array : 0x0x95a3f80)

[ERR] An error occured [ the index 'language' does not exist ]
at origin: /home/vlmp/scripts/Miscs/Message.nut: 103, function: unknown
[ERR] [Locals]  [type]: [#03a9f4]
        [element]: (array : 0x0x2584b30)
        [vargv]: (array : 0x0x95a4120)
        [player]: 0
        [st]: (array : 0x0x95a47c0)

[ERR] An error occured [ the index 'language' does not exist ]
at origin: /home/vlmp/scripts/Miscs/Message.nut: 103, function: unknown
[ERR] [Locals]  [type]: [#03a9f4]
        [element]: (array : 0x0x2584b30)
        [vargv]: (array : 0x0x95a4830)
        [player]: 0
        [st]: (array : 0x0x95a4090)


9
ok so umar, in the entire script of Message.nut i many lines with player.data.language,

but the only error displaying is for line 103, so do i just remove all lines in the .nut file and change to player.data.variable ?

 you mean
10
lines 98 to 111

   function MsgAdmin( type, element, ... )
   {      
      SqForeach.Player.Active( this, function( player )
      {
         local st = [];   
         st.push( element[ player.Data.Language ] );
         foreach( a in vargv )
         {
            if( a != null ) st.push( a );
         }
         
         if( player.Data.Player.Permission.Staff.Position.tointeger() > 0 && player.Data.Logged ) player.Msg1( type, st );
      });
   }
11
   this is the exact line of 103
If you could provide me a solution that would be greatly appreciated thanks.

         st.push( element[ player.Data.Language ] );
12
Anyone have a solution for line 103 in my .nut file what i can do ?
its crashing the server scripts on player join
i've tried all different kinds of solutions nothing working yet,

i did goto alink someone sent me, but thats for something different,
there is no code in written for variables ? so im not sure

I need some help thanks !



at origin: /home/vlmp/scripts/Miscs/Message.nut: 103, function: unknown
[ERR] [Locals]  [type]: [#03a9f4]
        [element]: (array : 0x0x280d8b0)
        [vargv]: (array : 0x0x982a9a0)
        [player]: 0
        [st]: (array : 0x0x982ae80)

[ERR] An error occured [ the index 'Language' does not exist ]
at origin: /home/vlmp/scripts/Miscs/Message.nut: 103, function: unknown
[ERR] [Locals]  [type]: [#03a9f4]
        [element]: (array : 0x0x280d8b0)
        [vargv]: (array : 0x0x98372d0)
        [player]: 0
        [st]: (array : 0x0x982add0)

[ERR] An error occured [ the index 'Language' does not exist ]
at origin: /home/vlmp/scripts/Miscs/Message.nut: 103, function: unknown
[ERR] [Locals]  [type]: [#03a9f4]
        [element]: (array : 0x0x280d8b0)
        [vargv]: (array : 0x0x982bd30)
        [player]: 0
        [st]: (array : 0x0x982b9b0)



13
General Discussion / Re: Vice City Multiplayer
« on May 15th, 2019, 03:59 PM »
Dont mind the newbie tag under my name, i never used the forums at all through the years, but its never tolate, so im gonna start now, i have OkieDokie registered  on every vcmp clan website possible, and forum, i never wanted anyone to pose as me lol,
While i was gone.
14
General Discussion / Re: Vice City Multiplayer
« on May 15th, 2019, 03:58 PM »
I am back, and i will save vcmp, We cannot giveup, i agree with the idea of having MORE RP SERVERS AND MINIGAMES

Coming from OkieDokie i think ya'll should listen, lol vcmp has somuch potential.
15
Abit more detailed help would be alittle appreciated, i understand the error, i just need to refresh my memory its been awhile, and im not exactly sure where to add these codes in the script ?