Giter Club home page Giter Club logo

Comments (4)

MishimaHaruna avatar MishimaHaruna commented on August 14, 2024

Hmm, did I swap the values perhaps? Can you check if it works with 1640457 instead?

The number packs together mob id and amount in the lower and upper word of a long. But I might have packet them the opposite way, as I had no reference documentation :x

from staffplugins.

rosfus avatar rosfus commented on August 14, 2024

-- File generated by the Hercules naviluagenerator plugin
-- http://hercules.ws / http://github.com/HerculesWS/StaffPlugins
-- Last Change: 2014-02-17

Navi_Mob = {
{ "alb_ship", 1640457, 300, 134807577, "变异老鼠", "E_CRAMP", 1, 2949122, },
{ "alde_dun01", 1640458, 300, 147324931, "黄金波利", "GOLDPORING", 1, 1376515, },
{ "alde_dun01", 1640459, 300, 78250034, "卷甲虫", "ARCLOUSE", 107, 2752772, },
{ "alde_dun01", 1640460, 300, 72810536, "红蝙蝠", "DRAINLIAR", 47, 3080194, },
{ "alde_dun02", 1640461, 300, 147324931, "黄金波利", "GOLDPORING", 1, 1376515, },
{ "alde_dun02", 1640462, 300, 79495218, "兽人战士长", "HIGH_ORC", 81, 2818567, },
{ "alde_dun02", 1640463, 300, 79364116, "伊特瓢虫", "BRILIGHT", 71, 1507332, },
{ "alde_dun02", 1640464, 300, 78250004, "卷甲虫", "ARCLOUSE", 107, 2752772, },
{ "alde_dun02", 1640465, 300, 77922324, "兽人弓箭手", "ORC_ARCHER", 78, 1442055, },
{ "alde_dun03", 1640466, 300, 147324931, "黄金波利", "GOLDPORING", 1, 1376515, },
{ "alde_dun03", 1640467, 300, 79691861, "梅纳海葵", "PENOMENA", 85, 1638661, },
{ "alde_dun03", 1640468, 300, 79233080, "蓝鼠", "CRAMP", 82, 2949122, },
{ "alde_dun03", 1640469, 300, 72810551, "红蝙蝠", "DRAINLIAR", 47, 3080194, },
{ "alde_dun04", 1640470, 300, 147324931, "黄金波利", "GOLDPORING", 1, 1376515, },
{ "alde_dun04", 1640471, 300, 72220722, "巫婆", "BATHORY", 86, 1769735, },

In game shot:
http://www.rosf.us/yuri/20140217122820.jpg

from staffplugins.

rosfus avatar rosfus commented on August 14, 2024

#if CLIENTVER >= 20140000
fprintf(fp, OUT_INDENT OUT_INDENT "%d," OUT_SEPARATOR, (mobinfo->vd.class_<<16)|amount);
// Mob Class << 16 | Spawn amount
#else /* CLIENTVER < 20140000 */
fprintf(fp, OUT_INDENT OUT_INDENT "%d," OUT_SEPARATOR, mobinfo->vd.class_); // Mob Class

I think maybe change this mobinfo->vd.class_<<16

from staffplugins.

MishimaHaruna avatar MishimaHaruna commented on August 14, 2024

Fixed in bbd47df, thank you!

from staffplugins.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.