Player Flag issues

Issues with the server software (not campaign)

Moderators: Torren, Moderators

Post Reply
Padraig Tseng
Mekwars Server Operator
Posts: 306
Joined: Sat Feb 16, 2008 5:29 pm
Location: Arizona
Contact:

Player Flag issues

Post by Padraig Tseng » Thu Nov 02, 2017 4:20 am

Couple issues with player flags

Issue one, unless I am blind you can only manually set a pflag by right clicking the players name in the player list. Doing this with my name (Padraig Tseng) i get this back in main:

unable to load player Padraig

Also, in the opeditor if you set a flag in the winner/loser field and then save the operation it totally wipes out the operation, saves it as an empty text file.
life is the crummiest book I ever read,
there isn't a hook, just a lot of cheap shots,
pictures to shock and characters an amateur would never dream up

Spork
Mekwars Developer
Posts: 3868
Joined: Wed Feb 13, 2008 10:23 pm

Re: Player Flag issues

Post by Spork » Thu Nov 02, 2017 6:47 pm

Sweet. Those are new bugs. :evil:
Never had much, grew up with nothing
But the music, well it was something
Been down and out, I've been on top of the world,
World that keeps on spinning on a turntable.

Padraig Tseng
Mekwars Server Operator
Posts: 306
Joined: Sat Feb 16, 2008 5:29 pm
Location: Arizona
Contact:

Re: Player Flag issues

Post by Padraig Tseng » Fri Nov 03, 2017 1:00 am

Another note, there's nothing in the error logs
life is the crummiest book I ever read,
there isn't a hook, just a lot of cheap shots,
pictures to shock and characters an amateur would never dream up

Spork
Mekwars Developer
Posts: 3868
Joined: Wed Feb 13, 2008 10:23 pm

Re: Player Flag issues

Post by Spork » Sat Nov 04, 2017 8:26 pm

#2 fixed and committed. Maybe it can't handle spaces in names, I will see what I can see.
Never had much, grew up with nothing
But the music, well it was something
Been down and out, I've been on top of the world,
World that keeps on spinning on a turntable.

Padraig Tseng
Mekwars Server Operator
Posts: 306
Joined: Sat Feb 16, 2008 5:29 pm
Location: Arizona
Contact:

Re: Player Flag issues

Post by Padraig Tseng » Thu Nov 09, 2017 6:53 am

More potential player flag issues....

Two identical operations, Op A, Op B. Op A has no player flags defined at all. Op B has player flags defined to be set for the attacker upon completion, whether win or lose.

Op A plays and reports correctly.

Op B hangs at resolution and generates the following in the error log and game log files.

Code: Select all

Error Log
20171108 22:40:25.506 False packet/illegal command (from Padraig):
20171108 22:40:25.506 [java.util.NoSuchElementException]
20171108 22:40:25.506    java.util.StringTokenizer.nextToken(Unknown Source)
20171108 22:40:25.506    server.campaign.operations.ShortResolver.handleOperationImpact(ShortResolver.java:379)
20171108 22:40:25.506    server.campaign.operations.ShortResolver.resolveShortAttack(ShortResolver.java:308)
20171108 22:40:25.506    server.campaign.operations.OperationManager.resolveShortAttack(OperationManager.java:349)
20171108 22:40:25.506    server.campaign.CampaignMain.doProcessAutomaticReport(CampaignMain.java:925)
20171108 22:40:25.506    server.MWServ.clientRecieve(MWServ.java:692)
20171108 22:40:25.506    server.ServerWrapper.processCommand(ServerWrapper.java:64)
20171108 22:40:25.506    server.MWChatServer.commands.Command.process(Command.java:36)
20171108 22:40:25.506    server.MWChatServer.CommandProcessorRemote.process(CommandProcessorRemote.java:159)
20171108 22:40:25.506    server.MWChatServer.MWChatClient.incomingMessage(MWChatClient.java:192)
20171108 22:40:25.506    server.MWChatServer.ReaderThread.normalRun(ReaderThread.java:71)
20171108 22:40:25.506    server.MWChatServer.ReaderThread.run(ReaderThread.java:97)
20171108 22:40:25.506    java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
20171108 22:40:25.506    java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
20171108 22:40:25.506    java.lang.Thread.run(Unknown Source)

gamelog.0
20171108 22:40:25.444 Starting report process by Padraig
20171108 22:40:25.444 Padraig reported: CR|Padraig#98*The Villain*5*512*0* *false*16*-2*12*12*8*8*0*0*0%0%2%9%4%4%7%19%-0%0%-0%0%^%0%1%^%0%2%^%0%4%^%0%5%^%-0%14%-*Enfield END-6Sr.mtf#93*Padraig*0*512*0* *false*16*3*12*11*8*-3*0*0*1%6%2%0%3%8%4%0%6%0%9%0%-2%0%4%0%6%11%-2%0%^%2%1%^%2%2%^%2%3%^%2%4%^%2%5%^%2%6%^%2%7%^%4%0%^%4%1%^%4%2%^%4%3%^%4%4%^%4%5%^%4%6%^%6%1%^%-0%17%2%9%3%0%-*Centurion CN9-Da.mtf#96*The Villain*0*512*0*93*false*16*3*12*12*-2*8*0*0*1%5%2%8%3%0%4%0%5%0%6%10%8%4%10%0%9%0%-3%0%5%0%-3%0%^%3%1%^%3%2%^%3%3%^%3%4%^%3%5%^%3%6%^%3%7%^%3%8%^%5%0%@%5%1%@%5%2%@%5%3%@%-0%16%2%9%-*Centurion CN9-Da.mtf#91*Padraig*0*0*0* *false*12*3*10*10*3*6*0*0*1%10%2%8%4%6%5%0%6%13%7%10%-5%3%-%%-%%-*Clint CLNT-5U.mtf#94*Padraig*0*0*0*98~96*false*16*3*12*12*8*8*0*0*4%6%5%2%7%19%-%%-%%-0%12%-*Enfield END-6Sr.mtf#95*The Villain*0*0*0* *false*12*3*10*10*1*6*0*0*1%7%3%7%4%6%5%0%6%5%-5%1%-5%4%^%-%%-*Clint CLNT-5U.mtf#MW*98*-1*false*#MW*96*-1*false*#MW*93*-1*false*#
life is the crummiest book I ever read,
there isn't a hook, just a lot of cheap shots,
pictures to shock and characters an amateur would never dream up

Post Reply