Jump to content

Recommended Posts

 

\src\map\skill.c(6912)

 

show me this line.

 

@@FearlesS

int needed = skill->dbs->db[skill_id].itemid[x];

Send me your skill.c

Share this post


Link to post
Share on other sites

 

@@Kubix what is your server? is it live? i wanna try how your BG Works.

Not alive, still working on it. But you can try.

I'll send you link in PM.

 

Upd: you can't receive more messages.

I would also play it  :p_idea:

Share this post


Link to post
Share on other sites

 

 

I had a look at some of your other stuff and you are awesome! I tried setting this up on a local server but couldn't get it to work @_@ oh well

You have some errors?

 

Hm yes, in bg_register.txt, the error I get in console is -

script error in file bg_register.txt line 38 column 60, parse_subexpr: need ':'

 

And this is line 38. " get_uniqueid() " is the part in question.

 

 

        if( qiget(.@qid1) == ( .MultipleCheck == 1? get_unique_id():getcharip() ) || qiget(.@qid2) == ( .MultipleCheck == 1? get_unique_id():getcharip() ) )

Hi, i have the same problem. I changed Set variable .MultipleCheck 1 to 2 and the problem continues.

Share this post


Link to post
Share on other sites
 

where will i put the src? i got lost at that part. Thanks in advance

Instructions are in bg_rewrite.c.

 

 

 

 


I had a look at some of your other stuff and you are awesome! I tried setting this up on a local server but couldn't get it to work @_@ oh well

You have some errors?

 

Hm yes, in bg_register.txt, the error I get in console is -

script error in file bg_register.txt line 38 column 60, parse_subexpr: need ':'

 

And this is line 38. " get_uniqueid() " is the part in question.

 

 

        if( qiget(.@qid1) == ( .MultipleCheck == 1? get_unique_id():getcharip() ) || qiget(.@qid2) == ( .MultipleCheck == 1? get_unique_id():getcharip() ) )

Hi, i have the same problem. I changed Set variable .MultipleCheck 1 to 2 and the problem continues.

This is the error log.

 

k1DV2OQ.png

 

 

@@Kubix I think you got yourself in a world or trouble posting this haha this is perhaps the most sought after coding in the emulator community.

Share this post


Link to post
Share on other sites
../map/battleground.h:98: error: expected ‘)’ before ‘key’
../map/battleground.h:99: error: expected ‘;’ before ‘void’
 

 

how to fix this error?

Share this post


Link to post
Share on other sites

Now it works perfect for me.

 

When compiling get the following warning:

 

 

        CC      battleground.c
battleground.c: In function ‘bg_team_rewards’:
battleground.c:114:28: warning: declaration of ‘bg’ shadows a global declaration [-Wshadow]
  struct battleground_data *bg;
                            ^
battleground.c:55:32: warning: shadowed declaration is here [-Wshadow]
 struct battleground_interface *bg;
                                ^
battleground.c: In function ‘bg_team_getitem’:
battleground.c:295:28: warning: declaration of ‘bg’ shadows a global declaration [-Wshadow]
  struct battleground_data *bg;
                            ^
battleground.c:55:32: warning: shadowed declaration is here [-Wshadow]
 struct battleground_interface *bg;
                                ^
battleground.c: In function ‘bg_team_get_kafrapoints’:
battleground.c:322:28: warning: declaration of ‘bg’ shadows a global declaration [-Wshadow]
  struct battleground_data *bg;
                            ^
battleground.c:55:32: warning: shadowed declaration is here [-Wshadow]
 struct battleground_interface *bg;
                                ^

 

No errors when i play BG.

 

Nice work!

Share this post


Link to post
Share on other sites

Item reward npc / BG mall npc is not clickable..

 

1yjo20.jpg

Some errors?

Do you add item_db2.conf?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.