Jump to content

Sparrow

Members
  • Posts

    34
  • Joined

  • Last visited

Everything posted by Sparrow

  1. Взял готовую и использовал Clear map
  2. Все рабочее. Забугорники говорят 620 версия имеет проблемы с этой фигней, нужно сохранить в 586 версии. Надеюсь, что там и настройка света получится, а то я в 620 не смог сделать освещение с тенями. Кое столько гайдов перерыл
  3. Thank you very much, but where to download this version of 586?
  4. http://www.youtube.com/watch?edit=vd&v=mDohkPgLe4E Первый раз работаю с созданием карт для RO. Столкнулся с проблемой - все время снизу черная фигня. Не знаю как справится с проблемой. =( sin_dun02.rar
  5. http://www.youtube.com/watch?edit=vd&v=mDohkPgLe4E First time working with the creation of maps for the RO. Confronted with the problem - all the time from the bottom black garbage. I do not know how to cope with the problem. = ( sin_dun02.rar
  6. But for the efforts plus) to do, it is always merciless criticism. Important not to throw) Someday you will learn to draw well)
  7. Я только неделю назад привык использовать switch(select()), до этого menu использовал. If(select() я не умею использовать еще. Да и вы немного не в тему написали)
  8. Не работает OnThisMobDeath. Что не правильно сделал? prt_fild08.gat,126,88,6 script Мегабосс::mega 909,{ mes "[Мегабосс]"; mes "Привет, путник. Я - великий и ужасный мегапоринг и я тебе сейчас покажу, что такое критическое наедалово!"; next; switch(select("Дать физды:Уйти")){ case 1: close2; sleep2 500; specialeffect 37; sleep2 700; specialeffect 42; sleep2 200; specialeffect 670; sleep2 200; disablenpc "mega"; monster "prt_fild08",126,88,"Мегабосс",1002,1,"mega::OnThisMobDeath"; sleep2 10000; enablenpc "mega"; end; case 2: close; end; } OnThisMobDeath: announce "Эй, "+strcharinfo(0)+" одолел Мегапоринга, который всех бесил!",bc_blue|bc_all; announce "Его награда - 1 TCG!",bc_blue|bc_all; getitem 7227,1; end; }
  9. http://pastebin.com/sQCB7uTh - В общем я загнался) В ручную все делал без всяких там баз) Замучался ппц
  10. --------------------------------------- *setd "<имя переменной>",<значение>; Работает примерно как set, просто имя переменной идентифицируется как строка. Эта команда эквивалентна: set getd("variable name"),<value>; Пример: set $var$, "Поринг"; setd "$var$", "Попоринг"; mes $var$; // Будет возвращено Попоринг. setd "$" + $var$ + "123$", "Попоринг крут"; mes $Poporing123$; // Будет возвращено Попоринг крут --------------------------------------- *getd("<variable name>") Возвращает ссылку в переменную, имя может быть построено динамически. См. раздел setd для использования. Пример: set getd("$varRefence"), 1; set @i, getd("$pikachu"); --------------------------------------- Чем мне в данной ситуации может помочь эта команда, я что- то не понимаю?)
  11. # # Table structure for table `gm_table` # CREATE TABLE `gm_table` ( `account_id` int(11) unsigned NOT NULL default '0', `id_effect` smallint(6) unsigned NOT NULL default '1', `name_effect` varchar(30) NOT NULL default '', `description` varchar(200) NOT NULL default '', PRIMARY KEY (`account_id`) ) ENGINE=MyISAM; Как сделать обращения к базе?)
  12. Sparrow

    Array?

    Good day to all the time. Today made ​​for a pump station, which will show the effects of the queue, or from what is specified ID. And I thought, but it would be convenient if we could keep a particularly favorite effects that you can select Add to Favorites. Climbs @input$, You write name, then the description. And the NPC stores this info. Then he can choose your favorites and there in the format: ID; Title, Description of Goods stored information. The same can be done without creating a new table in the database? Here's the script: prt_fild08.gat,123,68,4 script Specialeffect 467,{ mes "[specialeffect]"; mes "Hello You want to see the effects, or see a list of favorite effects?"; next; switch(select("See the effects of:Favorites:Exit")){ case 1: mes "[specialeffect]"; mes "Getting ..."; set .circle,0; next; M_circle: if(.circle == 18) set .circle,20; if(.circle == 19) set .circle,20; set .circle,.circle+1; next; mes "[specialeffect]"; mes "No. special effects:"; mes "== == == == == == == == == == == "; mes " ^00aa00"+.circle+"^000000"; mes "== == == == == == == == == == == "; specialeffect2 .circle; switch(select("Next:Go to...:Save:Cancel")){ case 1: goto M_circle; case 2: L_inp: input @inp; if (@inp <1 || @inp > 700) { next; mes "[specialeffect]"; mes "You have entered ^00aa00"+@inp+"^000000. This is an incorrect number of special effects."; mes "Need to enter values ??from 1 to 700."; goto L_inp; } set .circle,@inp-1; goto M_circle; case 3: mes "[specialeffect]"; mes ""; case 4: close; end; } case 2: // ??? // ??? // ??? case 3: close; end; } }
×
×
  • Create New...