SMF Development > Portals, Bridges, and Integrations

อยากทราบวิธีทำ lv+Hp

(1/1)

pratep:
อยากได้ mos หรือโค๊ดแก้ แบบชัดๆหน่อยครับ
ที่ดูมาลองทำแล้วมันไมได้เลย - - ใส่ถูกหมดทุกขั้นตอนนะครับ เสร็จแล้ว กดเข้าเว็บไมได้เลย- -ทำมา10รอบ เป็น10รอบ ดีนะสำรองไฟล์ไว้ก่อน - -

pratep:
ได้และกิกิ

Devstore.in.th:
สำหรับคนที่ยังทำไม่เป็นนะ


ซึ่งค่า HP กับ Level  จะเปลี่ยนไปตามจำนวนกระทู้ที่สมาชิกนั้นๆโพสครับ

การลง ต้อง ระมัดระวังมากๆ นะครับ เพราะต้องลงด้วยตัวเอง โอกาศพังมีสูงมากครับ! กรุณาสำรองไฟล์ที่จะทำการแก้ไขก่อนทุกครั้ง!!

นี่คือขั้นตอนการลงครับ คำเตือน: การลงมอดมีความเสียงที่จะทำให้บอร์ดพัง!

1. เปิดไฟล์ Sources/Load.php

2. หลังบรรทัดแรก ("<?php") ให้เพิ่มโค้ดนี้ลงไปครับ
///////////////
// DtTvB RPG //
///////////////
$rpgSettings = array();
$rpgSettings['init'] = 5;
$rpgSettings['incre'] = 3;
function calRpg($p) {
   global $rpgSettings;
   $i = 0; $j = $rpgSettings['init']; $l = 0;
   while ($i < $p) {
      $l++;
      $i += $j;
      $j += $rpgSettings['incre'];
   }
   $fn = $i;
   $cbase = ($i - ($j - $rpgSettings['incre']));
   if ($l < 1) $l = 1;
   $pc = (($p - $cbase) / ($fn - $cbase)) * 100;
  if ($pc >= 100) { $pc=0; $l++; }
   return array(
      'level' => $l,
      'cbase' => $cbase,
      'nbase' => $fn,
      'perce' => $pc
   );
}

3. เปิดไฟล์ Themes/default/Display.template.php

4. หาบรรทัดที่มีข้อความนี้ครับ
         // Show avatars, images, etc.?

5. เพิ่มโค้ดนี้ ก่อนหน้าบรรทัดที่ให้หาครับ

         $cp = $message['member']['posts'];
         $cr = calRpg($cp);
         echo '<!-- Comment start --><span style="display: none">Level and Hp mod by the DtTvB :: version 1.02 :: Made for Zone-IT.com</span><!-- Comment end -->
                        Level ' . $cr['level'] . ' : Exp ' . round($cr['perce']) . '%<div style="width:92%;border: 1px solid #999; background: #fff" align="left">
                           <div style="width:', round($cr['perce']), '%;background:#ccc;height:8px;"></div></div>';

   $membID = $message['member']['id'];
   $lastMsg = mysql_fetch_array(mysql_query($sql = "SELECT max(posterTime) FROM {$db_prefix}messages WHERE ID_MEMBER = {$membID}"));
   $hp = round(100 / (1 + ((time() - $lastMsg[0]) / 100000)), 1);
   echo '
                        HP: ' . $hp . '%<div style="width:92%;border: 1px solid #999; background: #fff" align="left">
                           <div style="width:', round($hp), '%;background:#ccc;height:8px;"></div></div><!-- End Code! // http://www.zone-it.com/ -->';

         echo '
';

ในไฟล์ Display.template.php ตรง

function template_main()


ต่อจาก { ให้ใส่ว่า
global $db_prefix;

Credit By the DtTvB < zone-it.com >

FrankJScott:
What are the primary benefits of Autonomous Mobile Robots
 
1. More Flexibility
Autonomous Mobile Robots exhibit flexible, dynamic automation due to their reliance on cameras and onboard sensors. Autonomous Mobile Robots are able to create their own pathways between Point A to Point B within an area. This lets them avoid obstacles and instead of following predetermined routes. Autonomous Mobile Robots can also be utilized to complete new tasks faster than other automation technology, which often require more time and effort to change the programming. Check out this Cross docking robot info for more.
 
2. Safety is the top priority
Autonomous Mobile Robots are full of sensors and cameras. These cameras and sensors allow the Autonomous Mobile Robot to read and understand its surroundings. This allows it to move within an area with little interference from people, infrastructure and even the product. Equipment operated by humans like forklifts doesn't feature the same safety measures and relies on the input of humans. Autonomous Mobile Robots reduce the chance of human operators becoming exhausted or distracted. But, this is not an issue with Autonomous Mobile Robots. Autonomous Mobile Robots can be utilized to perform repetitive tasks and minimize human error. This can greatly increase security.
 
3. Quick Implementation
Autonomous Mobile Robots can be installed within a business in less than 4 to 6 weeks, based on how complicated the process is. (Especially important in this case are the software for picking and warehouse execution software that the units will need to integrate with.) Although it is on the higher end of the spectrum, this is a remarkably short amount of time, especially when compared to other methods. A goods-to-person-system (G2P), could take more than a year to implement.
 
4. Scalability
Since Autonomous Mobile Robots are fairly simple to install within the facility, it's possible to implement an approach of modular deployment, starting with just a couple of units, and adding more as necessary as your company grows and your requirements change. This means you don't have to make a massive initial investment. Instead of buying a large number of Autonomous Mobile Robots all at once, you can purchase fewer units and increase your fleet over time. It is possible to save money by using modular deployment, meaning you can pursue different projects while you assess the effects of Autonomous Mobile Robots and determine the your next steps.
 
5. It is simple to move between facilities
Some operations might hesitate to investigate automation options since they know that moving to a new location will in the near future be possible. This is understandable. A new system will not be required for 2 years, so why would you need to implement it? Autonomous Mobile Robots can be utilized in these scenarios to help bridge the gap. Because Autonomous Mobile Robots are relatively easy to deploy and deploy, they can be moved from one facility to another with relative ease, enabling automated processes even in the short-term. In addition to operations expecting the possibility of a move in the near future it can also be a boon for companies who are planning temporary holiday operations.

FrankJScott:
For the person talking about vending massage chair business plan, how to start a business in massage therapy, google business massage pricing,  I highly recommend this 멋진 출장마사지  팁 or massage business logo ideas, business massages app, marketing plan massage therapy business, pet massage business names, business cards massages examples, alongside all this 유용한 출장마사지  URL as well as massage business ideas uk, how to start a mobile spa business, massage spa center in business bay, massage center business bay dubai, massage therapy business plan template free, on top of this 높은 평가 출장  포럼 which is also great. Also have a look at this 유용한 출장안마  링크 not to mention sample business plan massage therapy, eva massage centre business bay, massage chair companies name, business plan for self employed massage therapist, business massages usually conclude with a, as well as this 업데이트됨 출장마사지  사이트 on top of mobile massage business cards, whatsapp business c'est quoi, sample business plan massage therapy, marketing ideas for massage therapy business, business reopening massage to customers, and don't forget 멋진 출장  사이트 which is also worth a look. I also recommend this 최상급 출장마사지  세부 정보 on top of massage business plan example, is there a business whatsapp, mobile massage business name ideas, tcm spa massage center business bay, how to promote mobile massage business, not to mention this 높은 평가 출장  조언 not to mention massage spa business philippines, business massages usually conclude with a quizlet, business plan for self employed massage therapist, canine massage business names, is it illegal to go to a massage parlour, alongside all 멋진 출장  세부 정보 which is also great. Finally, have a look at this 높은 평가 출장마사지 정보 for good measure. Check more Great New Forum 875fa19

นำร่อง

[0] ดัชนีข้อความ

ไปที่เวอร์ชันเต็ม