Jump to content
  • 0

Settings Confing Button - where is it, or how to enable?


iraciz

Question


  • Group:  Members
  • Topic Count:  140
  • Topics Per Day:  0.03
  • Content Count:  562
  • Reputation:   108
  • Joined:  10/05/12
  • Last Seen:  

Where to enable the set/up button bellow the cash button? dwdw.png.a6e1eedf9bcce29dc3f097865ae28125.png

 

My client is 20180621 and the latest github revision, Pleas how to enable this? this is a sample of a client 2016 that can use it, but I dont find it anywehere.

pYDDoGr.gif

7X75iSd.png

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.03
  • Content Count:  640
  • Reputation:   82
  • Joined:  04/07/14
  • Last Seen:  

@iraciz By any chance have you solve this one? I think its attendance icon.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  171
  • Reputation:   68
  • Joined:  10/25/20
  • Last Seen:  

If you don't use the Roulette button, you can use the roulette as the config button, you can also change the roulette icon in your grf.

go to src/map/clif.cpp

Change
 

void clif_roulette_open( struct map_session_data* sd ){
	nullpo_retv( sd );

	struct packet_roulette_open_ack p;

	p.PacketType = 0xa1a;
	p.Result = 0; // result
	p.Serial = 0; // serial
	p.Step = (sd->roulette.claimPrize) ? sd->roulette.stage - 1 : 0;
	p.Idx = (sd->roulette.claimPrize) ? sd->roulette.prizeIdx : -1;
	p.AdditionItemID = -1; //! TODO: Display bonus item
	p.GoldPoint = sd->roulette_point.gold;
	p.SilverPoint = sd->roulette_point.silver;
	p.BronzePoint = sd->roulette_point.bronze;

	sd->state.roulette_open = true;

	clif_send( &p, sizeof( p ), &sd->bl, SELF );
}

to
 

void clif_roulette_open( struct map_session_data* sd ){
	nullpo_retv( sd );
	npc_event_do_id("NPCNAME::OnLabel", sd->status.account_id);
}


and make a script like this, for example.

 

-	script	NPCNAME	-1,{
OnLabel:
	mes "add whatever you want.";
	end;
}

 

Edited by cook1e
  • Upvote 2
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.03
  • Content Count:  640
  • Reputation:   82
  • Joined:  04/07/14
  • Last Seen:  

On 6/15/2022 at 2:48 AM, cook1e said:

If you don't use the Roulette button, you can use the roulette as the config button, you can also change the roulette icon in your grf.

go to src/map/clif.cpp

Change
 

void clif_roulette_open( struct map_session_data* sd ){
	nullpo_retv( sd );

	struct packet_roulette_open_ack p;

	p.PacketType = 0xa1a;
	p.Result = 0; // result
	p.Serial = 0; // serial
	p.Step = (sd->roulette.claimPrize) ? sd->roulette.stage - 1 : 0;
	p.Idx = (sd->roulette.claimPrize) ? sd->roulette.prizeIdx : -1;
	p.AdditionItemID = -1; //! TODO: Display bonus item
	p.GoldPoint = sd->roulette_point.gold;
	p.SilverPoint = sd->roulette_point.silver;
	p.BronzePoint = sd->roulette_point.bronze;

	sd->state.roulette_open = true;

	clif_send( &p, sizeof( p ), &sd->bl, SELF );
}

to
 

void clif_roulette_open( struct map_session_data* sd ){
	nullpo_retv( sd );
	npc_event_do_id("NPCNAME::OnLabel", sd->status.account_id);
}


and make a script like this, for example.

 

-	script	NPCNAME	-1,{
OnLabel:
	mes "add whatever you want.";
	end;
}

 

Do i need to diff the client to restore roulette? 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  171
  • Reputation:   68
  • Joined:  10/25/20
  • Last Seen:  

 

6 hours ago, Gidz Cross said:

Do i need to diff the client to restore roulette? 

Yes, you do.

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.03
  • Content Count:  640
  • Reputation:   82
  • Joined:  04/07/14
  • Last Seen:  

16 hours ago, cook1e said:

 

Yes, you do.

How do i somehow turn off roulette and the icon will still present? Reason for this was to elimiated the warning on the map console. I have fixed it. ?
image.png.e4417be30bf5fb59a410587d4ace0463.png

 

The only problem were i kept on spam clicking the icon even tho the label has been already called. How can i fix this?

Edited by Gidz Cross
I have fixed it.
Link to comment
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
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  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.

×
×
  • Create New...