HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Making threads to link to banned members content grants an automatic ban
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 Can't build.

View previous topic View next topic Go down 
AuthorMessage
impressivezero

avatar

Posts : 3
Join date : 2014-11-04

PostSubject: Can't build.   Tue Nov 04, 2014 9:40 pm

I've already posted about this in the guide thread, but I'll put this here again just in case.
I re-did everything up to the build point, but it still doesn't work.
Same thing, and I don't think it's this but anyways.
I also changed up the code a bit according to what it said. I can fix it, I'm just not sure what's doing it lol.
My code:
Code:
#ifndef __GameDefines_h_
#define __GameDefines_h_

// 1 to enable
// 0 to disable

/// New Version 5
// Enable encrypted items.cfg
// 0 = Reads items.cfg
// 1 = Reads items.dat (like ad1.dat)
#define ENCRYPTED_ITEMS 1
// Enable encrypted zips and your custom file extension (instead of zip - Remember the .)
#define ENCRYPTED_PACKAGES 1
#define ENCRYPTION_EXTENSION ".kzip"
#define ENCRYPTION_XORS { 13, 24, 39, 146, 52, 65, 69, 96, 245, 129 }
//Change the above numbers 1   2   3    4   5   6   7   8    9   10

// BIG FAT WARNING:
// DO NOT CHANGE MAX_EQUIP ON A SERVER THAT IS ALREADY RUNNING
#define MAX_EQUIP 12 // 9 is max recommended
#define MAX_STASH 50
#define MAX_PARTYMEMBERS 10

// BIG FAT WARNING:
// DO NOT DECREASE THESE VALUES ONCE SET. WILL LEAD TO CRASHES
// Read the names of these defines and they'll make sense (Game Max ____)
#define GMAXHEADS 7
#define GMAXMANES 25
#define GMAXTAILS 7
#define GMAXWINGS 4
#define GMAXTUFTS 12
#define GMAXBODYMARKS 21
#define GMAXHEADMARKS 18
#define GMAXTAILMARKS 9

// CHAT COLORS:
#define CHAT_LOCAL_COLOUR_TOP "1 0 0"
#define CHAT_LOCAL_COLOUR_BOTTOM "0 0 0"
#define CHAT_GENERAL_COLOUR_TOP "0 1 0"
#define CHAT_GENERAL_COLOUR_BOTTOM "0 0 0"
#define CHAT_PARTY_COLOUR_TOP "0 0 1"
#define CHAT_PARTY_COLOUR_BOTTOM "0 0 0"

// STANDARD TEXTS
#define USER_ADMIN_TEXT "SWORDMASTER"
#define USER_MOD_TEXT "SWORDADEPT"

// HOME/DEFAULT SETTINGS
#define MAP_DEFAULT "Default"
#define MAP_SPAWN 2500,2500 // x,z spawn location

// OVERALL LIGHTING
#define AMBIENT_LIGHT_OUTDOOR 0.75, 0.75, 0.75
#define AMBIENT_LIGHT_INDOOR 0.5, 0.5, 0.5

// Uncomment the next line and change the key
#define XORKEY 7*(i%7+1) // Change this key like: 3*(i%2)+3*(i%7)+4
#define CUSTOMCRITTERS 1 // allows users custom critters
#define MAXDIMS 10 // Maximum number of dims

#define SERVER_PORT 40000
#define MAIN_SERVER_PORT 40010

// Uncomment next lines and change them
#define MAIN_SERVER_IP "25.14.54.29" // enter your server address
#define SERVER_PASSWORD "SWORD0.1" // enter a key

#endif
I also don't know where I can find the XOR key. Suspect
Back to top Go down
Slain Motionless
Watched
avatar

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

PostSubject: Re: Can't build.   Thu Nov 06, 2014 3:42 am

I've been having the same issue. It might be the acual code ouo tho its the newest version...right?
Back to top Go down
http://aroessa.proboards.com
RedEye
Retired
avatar

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

PostSubject: Re: Can't build.   Thu Nov 06, 2014 8:30 am

Code:
#define XORKEY 7*(i%7+1)
7*(i%7+1) the xor key.

________________________________
Retired
Back to top Go down
lazyzim

™
avatar

Server : Dragon's Den
Male Posts : 729
Join date : 2011-11-27

PostSubject: Re: Can't build.   Thu Nov 06, 2014 9:26 am

Guys can I make a suggestion?

#define MAIN_SERVER_IP "25.14.54.29" // enter your server address

Do not place your IP address here as if your IP changes then you will need to send every player a new compile.

If you use http://www.noip.com/ you can set up for free, a Hosts/Redirect. This allows you to to use something like impressivezero.gameserve like this ->
#define MAIN_SERVER_IP "impressivezero.gameserve" // enter your server address

Then if your IP ever changes you only need to update the noip.com re director and not send out a new compile.

~Lazyzim~
Back to top Go down
 
Can't build.
View previous topic View next topic Back to top 
Page 1 of 1

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