Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
i have got an odd error.

 
Post new topic   Reply to topic Printable version
 View previous topic  Simple money module <asss> Post :: Post <py> craters  View next topic  
Author Message
tcsoccerman
Server Help Squatter


Age:31
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Thu Jul 12, 2007 2:25 pm    Post subject: i have got an odd error. Reply to topic Reply with quote

Fixed last error. New error:

Code: Show/Hide
two or more data types in declaration of `read_settings'


comes from this line:

Code: Show/Hide
local void read_settings(Arena *arena);


i declare that funcion here:

Code: Show/Hide
local void read_settings(Arena *arena)
{
      ConfigHandle ch = arena->cfg;
      struct adata *ad = P_ARENA_DATA(arena, adkey);
      ad->reward = cfg->GetInt(ch, "CP", "Reward", 200);
      ad->reward = cfg->GetInt(ch, "CP", "RewardType", 0);
      ad->nuetral_id = cfg->GetInt(ch, "CP", "NuetralID", 0);
      ad->red_id = cfg->GetInt(ch, "CP", "RedTeamID", 1);
      ad->blue_id = cfg->GetInt(ch, "CP", "BlueTeamID", 2);
     
}


Help is appreciated.
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Thu Jul 12, 2007 5:59 pm    Post subject: Reply to topic Reply with quote

Have you made any new data types/structs? Or it could be something to do a missing } or you accdientally deleted #include "asss.h" (unlikely).
_________________
ss news
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
tcsoccerman
Server Help Squatter


Age:31
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Thu Jul 12, 2007 6:23 pm    Post subject: Reply to topic Reply with quote

I fixed it, although i forgot how :\. Was rushing through it.
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS Custom Projects All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 664 page(s) served in previous 5 minutes.

phpBB Created this page in 0.463399 seconds : 28 queries executed (79.7%): GZIP compression disabled