HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 PvP Keeps Failing.

View previous topic View next topic Go down 
Go to page : 1, 2  Next
AuthorMessage
ЩΛЯ

avatar

Game username : ThisIsWar
Server : Eclipse
Female Posts : 373
Join date : 2015-03-02
Age : 17

PostSubject: PvP Keeps Failing.   Sun Mar 15, 2015 8:50 am

I try adding the PvP but it keeps saying its failed.

Code:
if (mDef->getMapName(mWorld->getWorldName()) == "Arena") {
        tUnit->setAlliance(ALLIANCE_ENEMY);
        }
        else {
        tUnit->setAlliance(ALLIANCE_FRIEND);
        }
      tUnit->isFriend = mDef->isInFriendList(tUser);
      tUnit->isBlocked = mDef->isInBlockedList(tUser);
      
Back to top Go down
Khaao

avatar

Male Posts : 261
Join date : 2014-09-07
Age : 20

PostSubject: Re: PvP Keeps Failing.   Sun Mar 15, 2015 1:34 pm

Where did you put this to?
Back to top Go down
McgeeTheDog

avatar

Game username : Mcgee
Server : Black Fire
Female Posts : 170
Join date : 2014-01-26
Age : 18
Location : UK

PostSubject: Re: PvP Keeps Failing.   Sun Mar 15, 2015 1:47 pm

Shane wrote:
Where did you put this to?
The code goes into the source code.

And Paradise, I'm sure if you follow the tutorial HERE it'll work. Because I know other servers who followed the tutorial and got the correct result.

Back to top Go down
http://www.black-fire.proboards.com
RedEye
Retired
avatar

Game username : -redeye-
Server : KITO
Male Posts : 2578
Join date : 2011-07-24
Age : 30

PostSubject: Re: PvP Keeps Failing.   Sun Mar 15, 2015 2:16 pm

I don't see anything wrong with it.
Does it compile if you replace ALLIANCE_ENEMY with 3 and ALLIANCE_FRIEND with 2?

________________________________
Retired
Back to top Go down
Khaao

avatar

Male Posts : 261
Join date : 2014-09-07
Age : 20

PostSubject: Re: PvP Keeps Failing.   Sun Mar 15, 2015 2:33 pm

did you re build the slotion? however..
Back to top Go down
Slain Motionless

avatar

Game username : The-Hunted
Server : Aroessa
Female Posts : 431
Join date : 2014-05-09
Age : 18
Location : Coding

PostSubject: Re: PvP Keeps Failing.   Sun Mar 15, 2015 5:12 pm

Also...I see something i'm familiar with. That map name, SL's PvP map is known as Arena. I'm just curious of what your Arena map looks like. I'm not going to be impressed if it's our map.
Back to top Go down
http://aroessa.proboards.com
ЩΛЯ

avatar

Game username : ThisIsWar
Server : Eclipse
Female Posts : 373
Join date : 2015-03-02
Age : 17

PostSubject: Re: PvP Keeps Failing.   Sun Mar 15, 2015 6:42 pm

It's not your map, don't worry. I don't play your server anyway.
Back to top Go down
ЩΛЯ

avatar

Game username : ThisIsWar
Server : Eclipse
Female Posts : 373
Join date : 2015-03-02
Age : 17

PostSubject: Re: PvP Keeps Failing.   Sun Mar 15, 2015 6:42 pm

And RedEye it doesnt work sadly.
Back to top Go down
ЩΛЯ

avatar

Game username : ThisIsWar
Server : Eclipse
Female Posts : 373
Join date : 2015-03-02
Age : 17

PostSubject: Re: PvP Keeps Failing.   Sun Mar 15, 2015 6:45 pm

Slain wrote:
Also...I see something i'm familiar with. That map name, SL's PvP map is known as Arena. I'm just curious of what your Arena map looks like. I'm not going to be impressed if it's our map.
 

And Kino's map is named that too so any map could be called Arena.

{Sorry for triple posting.}
Back to top Go down
Slain Motionless

avatar

Game username : The-Hunted
Server : Aroessa
Female Posts : 431
Join date : 2014-05-09
Age : 18
Location : Coding

PostSubject: Re: PvP Keeps Failing.   Sun Mar 15, 2015 7:08 pm

I'm just curious is all...I hardly touch any other server(never played Wolf Soul). But if it was our map, wouldn't have been happy at all. But may I suggest something? Check the Programming board for RedEye's PvP thread, copy the code and paste it over that to see if it works.
Back to top Go down
http://aroessa.proboards.com
ЩΛЯ

avatar

Game username : ThisIsWar
Server : Eclipse
Female Posts : 373
Join date : 2015-03-02
Age : 17

PostSubject: Re: PvP Keeps Failing.   Sun Mar 15, 2015 8:24 pm

I have, and thats what I copied and pasted.
Back to top Go down
ЩΛЯ

avatar

Game username : ThisIsWar
Server : Eclipse
Female Posts : 373
Join date : 2015-03-02
Age : 17

PostSubject: Re: PvP Keeps Failing.   Mon Mar 16, 2015 7:36 am

But its still failing.
Back to top Go down
Cloud
Texture Artist
Texture Artist
avatar

Game username : Cloud, Daydream
Server : None
Female Posts : 614
Join date : 2014-07-22
Location : Under your bed

PostSubject: Re: PvP Keeps Failing.   Mon Mar 16, 2015 10:38 am

Did you copy and paste it in the correct location?
Back to top Go down
McgeeTheDog

avatar

Game username : Mcgee
Server : Black Fire
Female Posts : 170
Join date : 2014-01-26
Age : 18
Location : UK

PostSubject: Re: PvP Keeps Failing.   Mon Mar 16, 2015 3:28 pm

Phraphs someone screen shots of it in your source code would be helpful?
Back to top Go down
http://www.black-fire.proboards.com
ЩΛЯ

avatar

Game username : ThisIsWar
Server : Eclipse
Female Posts : 373
Join date : 2015-03-02
Age : 17

PostSubject: Re: PvP Keeps Failing.   Mon Mar 16, 2015 7:34 pm

Cloud wrote:
Did you copy and paste it in the correct location?

Yeah.
Back to top Go down
ЩΛЯ

avatar

Game username : ThisIsWar
Server : Eclipse
Female Posts : 373
Join date : 2015-03-02
Age : 17

PostSubject: Re: PvP Keeps Failing.   Mon Mar 16, 2015 7:34 pm

I hope.
Back to top Go down
Cloud
Texture Artist
Texture Artist
avatar

Game username : Cloud, Daydream
Server : None
Female Posts : 614
Join date : 2014-07-22
Location : Under your bed

PostSubject: Re: PvP Keeps Failing.   Mon Mar 16, 2015 8:21 pm

Where did you place this code?
Back to top Go down
Hyper
Admin
avatar

Game username : Hyper
Server : Azoptaos
Male Posts : 490
Join date : 2014-02-09
Age : 19

PostSubject: Re: PvP Keeps Failing.   Mon Mar 16, 2015 8:56 pm

The code may not even be breaking the build, lol

Paste your output from the compiler

________________________________
Back to top Go down
http://azoptaos.boards.net/
Cloud
Texture Artist
Texture Artist
avatar

Game username : Cloud, Daydream
Server : None
Female Posts : 614
Join date : 2014-07-22
Location : Under your bed

PostSubject: Re: PvP Keeps Failing.   Mon Mar 16, 2015 9:27 pm

If it's in the wrong place wouldn't it? Razz
Also post the .h header you added the code to
Back to top Go down
ЩΛЯ

avatar

Game username : ThisIsWar
Server : Eclipse
Female Posts : 373
Join date : 2015-03-02
Age : 17

PostSubject: Re: PvP Keeps Failing.   Mon Mar 16, 2015 9:36 pm

Cloud wrote:
If it's in the wrong place wouldn't it? Razz
Also post the .h header you added the code to

?
Back to top Go down
Cloud
Texture Artist
Texture Artist
avatar

Game username : Cloud, Daydream
Server : None
Female Posts : 614
Join date : 2014-07-22
Location : Under your bed

PostSubject: Re: PvP Keeps Failing.   Mon Mar 16, 2015 9:39 pm

What part of the source did you put the code in? Ex. MagixUnitManager.h, MagixCritterManager.h
Back to top Go down
ЩΛЯ

avatar

Game username : ThisIsWar
Server : Eclipse
Female Posts : 373
Join date : 2015-03-02
Age : 17

PostSubject: Re: PvP Keeps Failing.   Mon Mar 16, 2015 10:03 pm

MagixNetworkManager.h
Back to top Go down
Hyper
Admin
avatar

Game username : Hyper
Server : Azoptaos
Male Posts : 490
Join date : 2014-02-09
Age : 19

PostSubject: Re: PvP Keeps Failing.   Mon Mar 16, 2015 10:30 pm

Can't help unless you post your output

________________________________
Back to top Go down
http://azoptaos.boards.net/
ЩΛЯ

avatar

Game username : ThisIsWar
Server : Eclipse
Female Posts : 373
Join date : 2015-03-02
Age : 17

PostSubject: Re: PvP Keeps Failing.   Tue Mar 17, 2015 8:07 am

Posted message is too long.
Back to top Go down
Hyper
Admin
avatar

Game username : Hyper
Server : Azoptaos
Male Posts : 490
Join date : 2014-02-09
Age : 19

PostSubject: Re: PvP Keeps Failing.   Tue Mar 17, 2015 4:57 pm

Then just paste the error

________________________________
Back to top Go down
http://azoptaos.boards.net/
Sponsored content




PostSubject: Re: PvP Keeps Failing.   

Back to top Go down
 
PvP Keeps Failing.
View previous topic View next topic Back to top 
Page 1 of 2Go to page : 1, 2  Next

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: SUPPORT :: Support :: Solved Support Issues-
Jump to: