Jump to content

Speedrun

Members
  • Posts

    25
  • Joined

  • Last visited

  • Days Won

    10

Posts posted by Speedrun

  1. 1 hour ago, PsyOps said:
    int32 pc_attendance_counter( map_session_data* sd ){
    	std::shared_ptr<s_attendance_period> period = pc_attendance_period();
    
    	// No running attendance period
    	if( period == nullptr ){
    		return 0;
    	}
    
    	// Get the counter for the current period
    	int counter = static_cast<int>(pc_readreg2( sd, ATTENDANCE_COUNT_VAR ));
    
    +    // Check if we have a remaining counter from a previous period
    +    if( counter >= 20 && !pc_attendance_rewarded_today(sd) ){
    +        pc_setreg2( sd, ATTENDANCE_COUNT_VAR, 0 );
    +        return 0;
    +    }
    	
    	// Check if we have a remaining counter from a previous period
    	if( counter > 0 && pc_readreg2( sd, ATTENDANCE_DATE_VAR ) < period->start ){
    		// Reset the counter to zero
    		pc_setreg2( sd, ATTENDANCE_COUNT_VAR, 0 );
    
    		return 0;
    	}
    
    	return 10 * counter + ( ( pc_attendance_rewarded_today(sd) ) ? 1 : 0 );
    }

    I think this is what @Sapito Sucio is trying to tell you to do.

    Though you have to really understand that attendance forces players to login/attend. On the days you want them active.

    It would be best if you just use a daily reward script for the purpose of resetting your daily rewards.

    @PsyOps and @Sapito Sucio you are the best!!!

    • Like 1
  2. Hi Dennis,

    I'm sorry I never really uploaded the .rsw .gat and ,gnd files x.x for the Green Power Prt Map x.x
    Since this map custom textures is inside the GRF and follows the tutorial on Browedit 3 Texture Edit, I will leave it here in case anyone want to use to practice the course.

    Unfortunately I didn't backup this Prontera.

  3. @LearningRO

    Good question.

    I know 3 reasons why some maps will have unwanted dark tiles when the character walks.

    • One is object under water.
    • One is the water level that isn't the always the same (specially if you change official RO maps).
    • and the third reason is that the map doesn't have calculated quadtree.

    Now doesn't mean that the map will have the unwanted dark tiles, but if there is, this may be one of the reasons.

    I hope that I have got your question answered.

    • MVP 1
  4. Browedit 3

    Browedit 3 1 - Intro

    Spoiler

     

    Browedit 3 2 - Setup

    Spoiler

     

    Browedit 3 3 - Height Edit

    Spoiler

     

    Browedit 3 4 - Texture Edit

    Spoiler

     

    Browedit 3 5 - Object Edit

    Spoiler

     

    Browedit 3 6 - Gat Edit

    Spoiler

     

     

    Browedit 3 7 - Wall Edit

    Spoiler

     

     

    Browedit 3 8 - Color Edit

    Spoiler

     

     

    Browedit 3 9 - Lightmap

    Spoiler

     

     

    Browedit 3 10 - Minimap

    Spoiler

     

     

    Browedit 3 11 - Cinematic

    Spoiler

     

     

     

    Browedit 586

    Browedit 586 1 - Basic Tutorial Ragnarok Online Map Editor

    *The map is available to download in Rathena, link in the video description.

    Spoiler

     

    Subtitles in English and Portuguese.

    Special thanks to @Taiga (PTBR Translation)

    Spoiler

    1694047136_BroweditSubtitle.thumb.png.4b74045eff86478fe0e7139c327e8856.png

    Browedit 586 2 - Basic & Intermediate Tutorial Ragnarok Online Map Editor

    Spoiler

     

    Browedit 586 3 - Quick Tips: Navigation

    Spoiler

     

    Browedit 586 4 - Quick Tips: Lightmaps

    Spoiler

     

    Browedit 586 5 - Quick Tips: Mini Map

    Spoiler

     

     

    • Upvote 5
    • Love 3
  5. Note: This map was made during my Browedit tutorial.

    * If you are interested to learn how to develop your own custom RO Map, please check the link below.

     

    ro_room v0.1

    Very simple room map with custom texture.

    Quote

    ro_room.JPG

     

    ro_room v0.2

    Very simple room map with custom texture & 3D models.

    Quote

    ro_room02.thumb.JPG.2ed0f6629f88ff8cbdafa0b656f1ca35.JPG

     

    ro_room v0.3

    Very simple room map with custom texture, 3D models, lightmap & minimap.

    Quote

    ro_room03.thumb.JPG.ef8080d2fc5150f02e4dd8fbaa8826f3.JPG

     

    Thanks for Downloading.

    ro_room-by_speedrun_v0.3.rar

    ro_room-by_speedrun_v0.2.rar

    ro_room-by_Speedrun_v0.1.rar

    • Upvote 5
×
×
  • Create New...