Search found 278 matches

by Letylove49
Wed May 15, 2024 4:50 pm
Forum: Discussions
Topic: Crash : [File:F:\UT_SRC_GIT\XC_Engine\XC_Engine\Src\UnXC_Level.cpp] [Line: 499]
Replies: 0
Views: 237

Crash : [File:F:\UT_SRC_GIT\XC_Engine\XC_Engine\Src\UnXC_Level.cpp] [Line: 499]

Hi i don't understant why i got this error ? Xcgeine 26 ut patch 469d Log: Log file open, 05/15/24 17:46:02 Critical: appError called: Critical: Assertion failed: Actor->Role==ROLE_Authority [File:F:\UT_SRC_GIT\XC_Engine\XC_Engine\Src\UnXC_Level.cpp] [Line: 499] Critical: UXC_Level::SpawnActor Criti...
by Letylove49
Thu Feb 08, 2024 4:04 pm
Forum: Coding, Scripting
Topic: MH2 :Prevent player who don't play to get bonus
Replies: 15
Views: 2027

Re: MH2 :Prevent player who don't play to get bonus

and i have removed this who is usless : if(PRand.PlayerReplicationInfo != None && PRand.PlayerReplicationInfo.score <= 5000) Not really useless: PRand (or Dest in your alternative code) don't have a PlayerReplicationInfo in seldom cases¹ and so your new code accesses NONE if you don't check...
by Letylove49
Tue Feb 06, 2024 3:00 pm
Forum: Coding, Scripting
Topic: MH2 :Prevent player who don't play to get bonus
Replies: 15
Views: 2027

Re: MH2 :Prevent player who don't play to get bonus

My goal was really to prevent players who connect but who do not play to get redeemers instead of players who play with what I did I also get that with health. if one day I want to do the same with the amplifier I will look at it but it is not my intention for the moment
by Letylove49
Tue Feb 06, 2024 12:14 am
Forum: Coding, Scripting
Topic: MH2 :Prevent player who don't play to get bonus
Replies: 15
Views: 2027

Re: MH2 :Prevent player who don't play to get bonus

function Pawn GetRandomPlayer() { local Pawn N; local PlayerPawn Dest; local Pawn Candidate[32]; local int num; for (N=Level.PawnList; N!=None; N=N.NextPawn) { Dest=PlayerPawn(N); if (Dest!=None && Dest.bIsPlayer && !Dest.PlayerReplicationInfo.bIsSpectator[b][color=#FF0000] &&am...
by Letylove49
Sat Feb 03, 2024 6:20 pm
Forum: Coding, Scripting
Topic: MH2 :Prevent player who don't play to get bonus
Replies: 15
Views: 2027

Re: MH2 :Prevent player who don't play to get bonus

ok i have test to put >5000 but that don't work like expeted. The funtion ged rabdin player PRand = GetRandomPlayer(); if (PRand != None) [b] if(PRand.PlayerReplicationInfo != None && PRand.PlayerReplicationInfo.score <= 5000)[/b] { if (kakuCount < DeemerSpawnTime) kakuCount++; if (HealthCou...
by Letylove49
Sat Feb 03, 2024 3:05 pm
Forum: Coding, Scripting
Topic: MH2 :Prevent player who don't play to get bonus
Replies: 15
Views: 2027

Re: MH2 :Prevent player who don't play to get bonus

pehaps i should use a fucntion who dectect inattive player : var float AFKTime; // Number of seconds the player has been AFK. var int AFKTimeRemaining; // Time remaining before the player will be ignored for the bonus. // AFK Function if (gInf.gameState == gInf.GS_Playing) { if (vSize((oldLocation -...
by Letylove49
Tue Jan 30, 2024 11:54 pm
Forum: Servers
Topic: Nexgen Server Controller
Replies: 154
Views: 23395

Re: Nexgen Server Controller

NexgenController MH-DSFoxtrotV0.NexgenController0 (Function Nexgen112N.NexgenController.MutatorBroadcastMessage:04FC) Accessed None 'P' Probably reason: variable "P" is used in line 95 without initialisation. I run again into this because I missed some broadcast messages. :pfff: Is the ch...
by Letylove49
Sun Jan 28, 2024 7:37 pm
Forum: Coding, Scripting
Topic: MH2 :Prevent player who don't play to get bonus
Replies: 15
Views: 2027

Re: MH2 :Prevent player who don't play to get bonus

It is... whatever. Player can play 3 minutes earning something... Then, he only camps... And that "score" check should include actor that has variable "score" not just vars thrown for compiling... The rest is to check how goes that "KillCount". If works based on number...
by Letylove49
Sat Jan 27, 2024 7:20 pm
Forum: Coding, Scripting
Topic: MH2 :Prevent player who don't play to get bonus
Replies: 15
Views: 2027

Re: MH2 :Prevent player who don't play to get bonus

<r><QUOTE author="Barbie" post_id="146125" time="1706374684" user_id="6820"><s>[quote=Barbie post_id=146125 time=1706374684 user_id=6820]</s> <QUOTE author="Letylove49" post_id="146123" time="1706365079" user_id="5937"><s>[quote=Letylove49 post_id=146123 time=1706365079 user_id=5937]</s>i have try u...
by Letylove49
Sat Jan 27, 2024 3:17 pm
Forum: Coding, Scripting
Topic: MH2 :Prevent player who don't play to get bonus
Replies: 15
Views: 2027

MH2 :Prevent player who don't play to get bonus

I would like to ensure that players who are inactive no longer get bonuses at the expense of players who play. Here the function for Bonus PRand = GetRandomPlayer(); if (PRand != None) if(score<=5000) return None; // if player have less than 5000 point = no bonus { if (kakuCount < DeemerSpawnTime) k...
by Letylove49
Thu Jan 04, 2024 6:51 pm
Forum: Mutators
Topic: ★ SmartScoreboard 120 ★ (April 2024)
Replies: 847
Views: 65566

Re: ★ SmartScoreboard 117 ★ [Updated 03/01/2024]

i think you must be logued as admin to have acces to admin pannel ?

confirmed.
by Letylove49
Wed Dec 20, 2023 11:56 pm
Forum: Servers
Topic: Nexgen Server Controller
Replies: 154
Views: 23395

Re: Nexgen Server Controller

i don't know if that can help you but i past the foonction mutatorBroadcastMessage( of Nexgen112N /*************************************************************************************************** * * $DESCRIPTION Hooked into the message mutator chain so commands can be detected. This function * i...
by Letylove49
Mon Dec 18, 2023 12:03 am
Forum: General Discussions
Topic: General Protection fault with a Mesh
Replies: 4
Views: 688

Re: General Protection fault with a Mesh

i use this mod only online. I could pehaps try to play it offline but i'm not sure that will work proprely ( for the bots)
by Letylove49
Sun Dec 17, 2023 5:03 pm
Forum: General Discussions
Topic: General Protection fault with a Mesh
Replies: 4
Views: 688

Re: General Protection fault with a Mesh

I suggest that the mesh "deemah1" and its usage should be investigated. ok here the class where this mesh is used : class MH2WarShell extends Projectile config(MonsterHunt2Gold467v5); #exec mesh import mesh=deemah1 anivfile=Models\deemah1_a.3d datafile=Models\deemah1_d.3d x=0 y=0 z=0 mlod...
by Letylove49
Sun Dec 17, 2023 3:40 pm
Forum: General Discussions
Topic: General Protection fault with a Mesh
Replies: 4
Views: 688

General Protection fault with a Mesh

hi

i have a crash on server with the MH2 ( this a custum version but i don't have change the mesh)

sometime i got this erreur when i use a reedeemer or another player use a reedeemer
erreur fatal avec  Mh2 redepmpteur .png
why i got this crash ?