Jump to content

chapolox

Miembro
  • Contador contenido

    29
  • Ingreso

  • Última visita

  • Días ganados

    2

chapolox Ganó el último 28 Diciembre 2014

chapolox Tenía el contenido más gustado!

1 Seguidor

Visitantes recientes al perfil

1.490 visitas al perfil

chapolox's Achievements

  1. Hola amigos actualmente tengo un archivo sql y me lanza un error al incluir en la base de datos 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'INSERT INTO `links` (`id`, `title`, `description`, `votes`) VALUES (1, 'Favorit' at line 9 segun lo que comprendi es que el error es por que algunas cosas tienen `` bueno se las quite y nada alguien puede ayudarmen aqui le coloco la tabla. CREATE TABLE IF NOT EXISTS `links` ( `id` int(8) NOT NULL AUTO_INCREMENT, `title` varchar(255) NOT NULL, `description` text NOT NULL, `votes` tinyint(2) DEFAULT '0', PRIMARY KEY (`id`) ) INSERT INTO `links` (`id`, `title`, `description`, `votes`) VALUES (1, 'Favorite Star Rating with jQuery', 'This tutorial is for doing favorite star rating using jQuery. It displays list of HTML stars by using li tags. These stars are highlighted by using CSS and jQuery based on the favorite rating selected by the user.', 0), (2, 'PHP RSS Feed Read and List', 'PHP''s simplexml_load_file() function is used for reading data from xml file. Using this function, we can parse RSS feed to get item object array.', 0), (3, 'jQuery AJAX Autocomplete – Country Example', 'Autocomplete feature is used to provide auto suggestion for users while entering input. It suggests country names for the users based on the keyword they entered into the input field by using jQuery AJAX.', 0);
  2. si eso men por que lo anterior no me sirvio
  3. Miren tengo un problema en la web y es que quiero poner un limite de tiempo para el sistema de votacion; Explico mejor, un usuario puede votar las veces que quiere en un mismo dia y al menos para evitar eso me gustaria ponerle un tiempo de 4 o 5 horas para poder votar de nuevo aqui el code $(document).ready(function(){ // ajax setup $.ajaxSetup({ url: 'ajaxvote.php', type: 'POST', cache: 'true' }); // any voting button (up/down) clicked event $('.vote').click(function(){ var self = $(this); // cache $this var action = self.data('action'); // grab action data up/down var parent = self.parent().parent(); // grab grand parent .item var postid = parent.data('postid'); // grab post id from data-postid var score = parent.data('score'); // grab score form data-score // only works where is no disabled class if (!parent.hasClass('.enabled')) { // vote up action if (action == 'up') { // increase vote score and color to orange parent.find('.vote-score').html(++score).css({'color':'green'}); // change vote up button color to orange self.css({'color':'orange'}); // send ajax request with post id & action $.ajax({data: {'postid' : postid, 'action' : 'up'}}); } // voting down action else if (action == 'down'){ // decrease vote score and color to red parent.find('.vote-score').html(--score).css({'color':'red'}); // change vote up button color to red self.css({'color':'red'}); // send ajax request $.ajax({data: {'postid' : postid, 'action' : 'down'}}); }; // add disabled class with .item parent.addClass('.disabled'); }; }); });
  4. osea asi? quest balbla begin state start begin when login with pc.is_gm() begin send_letter("Invoca") end when button or info with pc.is_gm() begin local id,x,y say("Id Mob") id=tonumber(input()) -- 13001 say("Coor. X") x = tonumber(input()) -- 604 say("Coor. Y") y = tonumber(input()) -- 675 mob.spawn(id,x,y,0,0) end end end
  5. esa quest es de pergamino no y donde dice invoca que va un texto o la id del npc disculpa mi ignorancia pero es que aun no aprendo bien gracias
  6. quest coorde begin state start begin when x.chat.'evento' begin say_title(pc.get_name()) say'hola' say'Aqui podras incluir una puerta' say'¿Deseas Poner Puertas?' local fire = select('si', 'no') local corde_x = math.random(0,10) local corde_y = math.random(0,10) if fire == 2 then return end say_title(pc.get_name()) say'invocare la puerta indica la coordenada x' coordx = tonumber(input()) say'coordenada y' coordy = tonumber(input()) mob.spawn(13001, coordx + corde_x , coordy + corde_y, 1) end end end o si esta mala por favor quien me la repara
  7. ni si quiera en la guia he llegado a leer sobre local, apenas voy en los when y la guia dice que practique y eso hago y despues de varios repasos sigo leyendo
  8. Gracias pero no sofoques yo no estoy pidiendo quest solo estoy aprendiendo todo por parte xD o me pondras mas bruto de lo que soy xD
  9. Entonces seria algo asi? quest chapolox begin state start begin when 1901.kill with pc.level() => 75 and pc.give_item(11980) begin Notice_all (Un usuario acaba de matar al 9 colas) end end end
  10. gracias ahora hare que esa quest se convierta en mision a ver si me sale estoy aprendiendo gracias por la correccion claro que me falta mucho que aprender
  11. Quiere decir que si la hago asi me anunciara que el 9 colas fue asesinado (lo dirá en llamar) quest chapolox begin state start begin when 1901.kill with pc.get.lvl() > 75 begin Notice_all (Un usuario acaba de matar al 9 colas) end end end
  12. a ver esta quest solo esta diciendome en mi servidor que saldra el mensaje que le coloque si el personaje anda equipado con eso?
  13. Hola Amigos estuve leyendo la guia que imprimi desde aqui y quiero aprender hacer quest. Inicie algunas practicas y esto fue lo que me salio y quiero saber si hice algo mal que alguien me tienda su sabiduria a vr quest chapolox begin state start begin when 1901.kill with pc.get.lvl() > 75 and pc.count_item (11890) > 1 begin Say (!Haz recibido Vestido negro!) end end end
×
×
  • Crear nuevo...