Radian Posted May 17, 2016 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 1546 Reputation: 192 Joined: 07/23/14 Last Seen: June 24, 2024 Share Posted May 17, 2016 I am testing an old patch that i got in the source release section and I was hoping that someone can help me with this List of errors are 1>..\src\map\storage.c(189): error C2065: 'BG_CHARID' : undeclared identifier 1>..\src\map\storage.c(189): error C2065: 'BG_TRADE' : undeclared identifier 1>..\src\map\trade.c(400): error C2065: 'BG_CHARID' : undeclared identifier 1>..\src\map\trade.c(400): error C2065: 'BG_TRADE' : undeclared identifier 1>..\src\map\trade.c(401): error C2065: 'BG_TRADE' : undeclared identifier 1>..\src\map\vending.c(323): warning C4013: 'MakeDWord' undefined; assuming extern returning int 1>..\src\map\vending.c(323): error C2065: 'BG_CHARID' : undeclared identifier 1>..\src\map\vending.c(323): error C2065: 'BG_TRADE' : undeclared identifier and here is the patch line storage.c if( item_data->card[0]==CARD0_CREATE && MakeDWord(item_data->card[2],item_data->card[3])==BG_CHARID && BG_TRADE&64 ) trade.c if( item->card[0]==CARD0_CREATE && MakeDWord(item->card[2],item->card[3])==BG_CHARID && BG_TRADE&2 && (pc_get_partner(sd) != target_sd || BG_TRADE&4) ) vending.c || ( sd->status.cart[index].card[0]==CARD0_CREATE && MakeDWord(sd->status.cart[index].card[2],sd->status.cart[index].card[3])==BG_CHARID && BG_TRADE&2 ) // "Battleground's Items" Link of the patch is LINK -- Edit -- Already stated in battleground.h //Brian Bg Items - updated by [AnubisK] #define BG_CHARID 165100 // char named "Battleground" #define BG_TRADE 91 // trade mask of BG consumables Issue is fixed! problem was this was not applied. on storage/vending/trade.c #include "battleground.h" //Brian Bg Items - updated by [AnubisK] now I got a question \src\map\vending.c(323): warning C4013: 'MakeDWord' undefined; assuming extern returning int with this line //Brian Bg Items - updated by [AnubisK] || ( sd->status.cart[index].card[0] == CARD0_CREATE && MakeDWord(sd->status.cart[index].card[2],sd->status.cart[index].card[3])==BG_CHARID && BG_TRADE&2 ) // "Battleground's Items" // end Brian Bg Items Quote Link to comment Share on other sites More sharing options...
0 Promise Posted May 17, 2016 Group: Members Topic Count: 34 Topics Per Day: 0.01 Content Count: 386 Reputation: 38 Joined: 04/28/13 Last Seen: March 22, 2024 Share Posted May 17, 2016 //Brian Bg Items - updated by [AnubisK] #define BG_CHARID 165100 // char named "Battleground" // you can change the character id. #define BG_TRADE 91 // trade mask of BG consumables // You can edit the mask You have to add those lines in: src/map/battleground.h Quote Link to comment Share on other sites More sharing options...
0 Radian Posted May 17, 2016 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 1546 Reputation: 192 Joined: 07/23/14 Last Seen: June 24, 2024 Author Share Posted May 17, 2016 It is already in the battleground.h Quote Link to comment Share on other sites More sharing options...
0 Promise Posted May 17, 2016 Group: Members Topic Count: 34 Topics Per Day: 0.01 Content Count: 386 Reputation: 38 Joined: 04/28/13 Last Seen: March 22, 2024 Share Posted May 17, 2016 this MakeDWord its just a warning, it doesn't care Quote Link to comment Share on other sites More sharing options...
0 Radian Posted May 17, 2016 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 1546 Reputation: 192 Joined: 07/23/14 Last Seen: June 24, 2024 Author Share Posted May 17, 2016 i see thank you! Quote Link to comment Share on other sites More sharing options...
Question
Radian
I am testing an old patch that i got in the source release section and I was hoping that someone can help me with thisList of errors areand here is the patch linestorage.ctrade.cvending.cLink of the patch is LINK-- Edit --Already stated in battleground.hIssue is fixed! problem was this was not applied. on storage/vending/trade.c
now I got a question
with this line
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.