Page 1 of 1

Strange Anti singleplayer,need help please. Pumpkintd

Posted: September 25th, 2025, 1:21 am
by kattpess
Hi there, i just manage to make cp work and stuff like that, but the there is some sort of a anti singleplayer thing on this as you could see on the imgur link i must have 3 players in lobby, before i could add computer and it worked. now it dont. Thanks and appricate all help and tips.

download link :https://www.pumpkintd.com/#download
https://imgur.com/a/DcOQnLF
War3map.j

Re: Strange Anti singleplayer,need help please. Pumpkintd

Posted: October 22nd, 2025, 10:06 am
by kattpess
Could anyone give me some tips onw how to change that "must have at Least 3 Players ?"

Re: Strange Anti singleplayer,need help please. Pumpkintd

Posted: October 28th, 2025, 11:19 pm
by haxorico
Quick check seems to be a global variable called Vo
It only shows in 2 places. first is counting players

Code: Select all

//Line 24544
elseif GetPlayerSlotState(BB)==PLAYER_SLOT_STATE_PLAYING then
set Vo=Vo+1
And second part is checking if the couted players are less than 3

Code: Select all

//Line 25412
if Zjj==5 and Vo<3 then
The way to overcome it is either change Vo to 3 instead of 0 in line 107

Code: Select all

integer Vo=0
Or remove that if statement and its contents or make sure the if never triggers, example would be chagne "Vo<3" to "false"